Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Weving
Weving [message #772641] Fri, 30 December 2011 09:13 Go to next message
Beat Ris is currently offline Beat RisFriend
Messages: 2
Registered: December 2011
Junior Member
Hi all

I have a persistence model which contains about 50 classes. I run the static waeving an do not get no error messages. So everything looks fine.
When I start the application I get the warning for a certain class which could not
be weaved for change tracking as it is not supported by its mappings. There is no difference between static or dynamic weaving, I get the warning in in both cases:

[EL Config]: 2011-12-28 11:56:38.523--ServerSession(11742932)--Thread(Thread[main,5,main])--Class ch.wiegand.lib.wmm.wmcl.model.patient.Patient could not be weaved for change tracking as it is not supported by its mappings.

There is no special thing about this to classes as far as I can tell. So I was
looking through the documentation what the "rules of weaving" would be, but did
not found anything which gives me an answer.

Any hint or help would be appreciated,
Thanks
Beat Ris
Re: Weving [message #777506 is a reply to message #772641] Tue, 10 January 2012 16:02 Go to previous message
James Sutherland is currently offline James SutherlandFriend
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

This is just a warning, and everything will function correctly without the weaving of change tracking. Change tracking is only a performance optimization.

My guess is you have an EAGER OneToMany to ManyToMany, or an ElementCollection, LAZY is required for change tracking. If you include the class mapping, I can confirm.


James : Wiki : Book : Blog : Twitter
Previous Topic:Weving
Next Topic:getId of metaModel will NEVER work for embededID
Goto Forum:
  


Current Time: Mon Nov 11 17:25:45 GMT 2024

Powered by FUDForum. Page generated in 0.03348 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top