Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Can eclipselink log entity changes?
Can eclipselink log entity changes? [message #520497] Fri, 12 March 2010 15:59 Go to next message
Michal Ondrovic is currently offline Michal OndrovicFriend
Messages: 7
Registered: February 2010
Junior Member
Dear all,

I need to log the changes in the entities when saving. Is there any support in Eclipselink for this? Or I have to write my own code, which compares the entity before and after save...

Thank you

Michael
Re: Can eclipselink log entity changes? [message #520522 is a reply to message #520497] Fri, 12 March 2010 17:30 Go to previous message
Tom Eugelink is currently offline Tom EugelinkFriend
Messages: 817
Registered: July 2009
Senior Member
Eclipselink has a history function where the previous version of an entity is written to a history table with a valid from / until field combination.

http://wiki.eclipse.org/Configuring_a_Descriptor_(ELUG)#Conf iguring_a_History_Policy


On 2010-03-12 16:59, anaque@gmail.com wrote:
> Dear all,
>
> I need to log the changes in the entities when saving. Is there any
> support in Eclipselink for this? Or I have to write my own code, which
> compares the entity before and after save...
> Thank you
>
> Michael
Previous Topic:EclipseLink 2.0.1 on update site
Next Topic:How to load all objects in JPA 2.0 using Criteria
Goto Forum:
  


Current Time: Tue Mar 19 06:34:19 GMT 2024

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

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

Back to the top