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)

Hi Tom!

These are my results:

----------------------------------------------------------------------
<properties>
      <property name="eclipselink.weaving" value="static"/>
      <property name="eclipselink.weaving.lazy" value="true"/>
</properties>
Application starts, BeansBinding not working
----------------------------------------------------------------------

----------------------------------------------------------------------
<properties>
      <property name="eclipselink.weaving" value="static"/>
      <property name="eclipselink.weaving.lazy" value="false"/>
</properties>
Unable to start the Application, getting tons of exceptions:
Exception [EclipseLink-1] (Eclipse Persistence Services - 1.1.0.r3634):
org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The attribute [typeOfOwnership] is not declared as
type ValueHolderInterface, but its mapping uses indirection.
----------------------------------------------------------------------

----------------------------------------------------------------------
<properties>
      <property name="eclipselink.weaving" value="static"/>
      <property name="eclipselink.weaving.lazy" value="true"/>
      <property name="eclipselink.weaving.internal" value="false"/>
</properties>
Application starts AND BeansBinding is working!!!!
----------------------------------------------------------------------

Just to be sure, I continued with the tests. It turned out, that the
eclipselink.weaving.internal
is the only option which affects Beans Binding, so this is the properties
set which works for me:

<properties>
      <property name="eclipselink.weaving" value="static"/>
      <property name="eclipselink.weaving.lazy" value="true"/>
      <property name="eclipselink.weaving.internal" value="false"/>
      <property name="eclipselink.weaving.changetracking" value="true"/>
      <property name="eclipselink.weaving.fetchgroups" value="true"/>
</properties>

Is there any document which describes what exactly is done by
weaving.internal? Could i leave
it turned off? Will the lazy fetching of all realtionships keep intact?

Best Regards,

chris
-- 
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-tp22846149p22862533.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top