How to get changed attributes when updating using JPA / EclipseLink

How can I get changed attributes (name, old value, new value) when updating with JPA / EclipseLink?

+3
source share
1 answer

You can access the changes from UnitOfWork or through DescriptorEvents. You can get the new value from a set of changes, and with 2,3, I think you can also get the old value.

Cm,

http://wiki.eclipse.org/EclipseLink/FAQ/JPA#How_to_access_what_changed_in_an_object_or_transaction.3F

+3
source

All Articles