Hello, I use the getDirtyObjects() method of the OpenJPAEntityManager to get a collection of dirty objects. I have a problem with new objects: After I commit the transaction, every field (except for the id one) of all new entities in the dirty objects collection has a null value.
(The objects in the collection are the same ones, but all their values are nullified) I need the object to have the correct values in order to send an event containing the new entity. Is it a bug or an intended behaviour? I could bypass the problem by asking the entity manager to fetch the entities (because the id field was not nulled). Is that the right way to avoid my problem? Yoav -- View this message in context: http://n2.nabble.com/dirty-objects-state-after-a-commit-tp2409237p2409237.html Sent from the OpenJPA Developers mailing list archive at Nabble.com.
