Please use the user forum for such questions. First by searching the forum and then posting if needed. This list is a devel mailing one.

Emmanuel Bernard
01.55.21.52.14
Fnac - DSI
Direction France - Nouvelles technologies
67, boulevard du Gal Leclerc
92612 Clichy Cedex



Caldas, Marcelo wrote:

Hi,

I’ve been trying to use the interceptor, but the previousState is populated only when inserting. Never on an update. For both onFlushDirty() and findDirty() methods.

Is this supposed to be normal behavior?

I was trying to do the same thing the documentation is doing - set the current timestamp on a lastModifiedDate column. But I wanted to make sure that something changed on that instance before setting the lastModifiedDate. For that I was trying to compare the value on the currentState[i] with previousState[i].

Thanks,

Marcelo.



-------------------------------------------------------
This Newsletter Sponsored by: Macrovision
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to