Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] howto refresh objects
[Teneo] howto refresh objects [message #608609] Thu, 28 June 2007 18:19
Mark Geib is currently offline Mark GeibFriend
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.
Previous Topic:Load XMI to EMF
Next Topic:eclipse plugin dependencies
Goto Forum:
  


Current Time: Thu Apr 25 22:35:58 GMT 2024

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

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

Back to the top