java - JPA With EclipseLink 2.3 Lazy Loading Weaving Method Not Found Exception -


we have web application jpa eclipselink 2.3.

we want enable lazy loading, requires enable weaving. weaving process runs fine except cause number of errors when run our page.

the error below:

exception [eclipselink-0] (eclipse persistence services - 1.2.0.v20091016-r5565):  org.eclipse.persistence.exceptions.integrityexception descriptor exceptions: ---------------------------------------------------------  exception [eclipselink-60] (eclipse persistence services - 1.2.0.v20091016-r5565): org.eclipse.persistence.exceptions.descriptorexception exception description:  method [_persistence_setothrsrceofslselmntlinkid_vh] or [_persistence_getothrsrceofslselmntlinkid_vh] not defined in object [avon.maps.entities.srceofslselmnt].  internal exception: java.lang.nosuchmethodexception: avon.maps.entities.srceofslselmnt._persistence_getothrsrceofslselmntlinkid_vh() mapping:  org.eclipse.persistence.mappings.onetoonemapping[othrsrceofslselmntlinkid] descriptor: relationaldescriptor(avon.maps.entities.srceofslselmnt --> [databasetable(srce_of_sls_elmnt)] 

our persistence.xml includes following line:

<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence"  xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://java.sun.com/xml/ns/persistence  http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"> 


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -