Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Override the propertyChange method of AttributeChangeListener Class(Override the propertyChange method of AttributeChangeListener Class)
Override the propertyChange method of AttributeChangeListener Class [message #668852] Sun, 08 May 2011 21:21 Go to next message
DTKCJ  is currently offline DTKCJ Friend
Messages: 1
Registered: May 2011
Junior Member
Hi All,

I am trying to track changes, including the old and new values of changed attributes of all my entities in a generic manner.

For this I want to override the propertyChange method of AttributeChangeListener Class inorder to obtain the old and new value of an attribute before it can be updated.

Looking forward to suggestions how this could be implemented.

Thanks in advance.
Tess
Re: Override the propertyChange method of AttributeChangeListener Class [message #669214 is a reply to message #668852] Mon, 09 May 2011 13:58 Go to previous message
James Sutherland is currently offline James SutherlandFriend
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

What are you trying to do exactly (and why?)?

The EclipseLink DescriptorEvents such as postUpdate give an ObjectChangeSet as argument (from DescriptorEvent) that contains the list of changes. The latest EclipseLink release also contains the old values.


James : Wiki : Book : Blog : Twitter
Previous Topic:Oracle ORDERED USE_NL and Eclipselink
Next Topic:EJB transaction does not rollback stored procedure changes
Goto Forum:
  


Current Time: Tue Apr 16 19:20:34 GMT 2024

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

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

Back to the top