[Teneo] howto refresh objects [message #608609] |
Thu, 28 June 2007 18:19 |
Mark Geib Messages: 432 Registered: July 2009 |
Senior Member |
|
|
I am working on implementing client notifications to support updates other
clients when a specific client modifies a hibernate object.
I have extended the EMFInterceptor so that I can see when hibernate is
marking objects dirty, etc. I then grab the EntityName and ID from the
arguments to onFlushDirty() and broadcast this information to all
connected/interested clients...
This all works.
However, in the receiving clients I am having trouble refresing the
objects. I can retreieve the object with session.get(EntityName, ID), but
a call to session.refresh(object) seems to load the entire hibernate
persistent database.
I would appreciate any help in this.
Mark.
|
|
|
Powered by
FUDForum. Page generated in 0.03086 seconds