Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Odd problem with BeansBinding since upgrading Eclipse Link to 1.1 (only with static weaving)

Now i've tried with that set of properties:

<properties>
      <property name="eclipselink.weaving" value="static"/>
      <property name="eclipselink.weaving.lazy" value="false"/>
</properties>

But i get Exceptions which prevent me from firing up my application:

Exception [EclipseLink-1] (Eclipse Persistence Services - 1.1.0.r3634):
org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The attribute [employee] is not declared as type
ValueHolderInterface, but its mapping uses indirection.
Mapping: org.eclipse.persistence.mappings.OneToOneMapping[employee]
Descriptor: RelationalDescriptor(com.vendidata.gollum.businesslogic.EasyData
--> [DatabaseTable(easydata)])




Then i went further with that set of properties:
<properties>
      <property name="eclipselink.weaving" value="false"/>
      <property name="eclipselink.weaving.lazy" value="false"/>
</properties>

With that set i can start my app, load data BUT beans binding isn't working.
The only way to get it working, is to remove the weaving stuff from
persistence.xml and
remove the static weaving task from my build.xml-script.




-- 
View this message in context: http://www.nabble.com/Odd-problem-with-BeansBinding-since-upgrading-Eclipse-Link-to-1.1-%28only-with-static-weaving%29-tp22846149p22849278.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top