Weving [message #772641] |
Fri, 30 December 2011 04:13  |
Eclipse User |
|
|
|
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 11:02  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.02892 seconds