Joined: Mon Jan 12, 2004 5:46 pm Posts: 8
|
Hi,
I have an application that synchronizes a set of objects between a server DB and mobile PDA DBs. I use hibernate for persistency. I need to implement some way of tagging an object with a unique 'stamp' on every change(database update) in order to be able to detect which objects must I send to the PDA. What is the best way of doing this?
I'm thinking of using an interceptor and in the onFlushDirty() to use a sequenceGenerator to generate a new unique 'stamp' if the object is changed. Is there a better way of doing this?
Thanks
|
|