|
Re: Descriptor Events on Entities which have not been modified during a Transaction [message #758196 is a reply to message #758011] |
Tue, 22 November 2011 04:59  |
Eclipse User |
|
|
|
Thanks again James.
The reason for the example was to see whether there were any other techniques that could be used to manage a collection of objects which derived state from their position in a List. The reason for not doing this at the time of inserting/removing other items is just that it means doing it all the time, not on some final event. Before I rewrote this I wanted to make sure I was not missing something that I could get for free from Eclipselink, I wasn't sure from the docs whether the PreWrite event was available on all Entities or not.
Its not an issue and I can see the benefits/difficulties of calculating the changes once and not firing events on unchanged entities.
|
|
|
Powered by
FUDForum. Page generated in 0.03929 seconds