users@glassfish.java.net

Is there a mechanism to observe entities for changes?

From: <glassfish_at_javadesktop.org>
Date: Wed, 10 Oct 2007 15:36:06 PDT

I would figure there would be some mechanism to support this such as a notification if the version changes?

I'm not sure if there is a better alternative but what I would like to have is some notification if an entity has changed. That way I can mark it as dirty in the database and when my EJB timer kicks off it can perform appropriate notifications based on this.

Thanks, S.D.
[Message sent by forum member 'samdoyle' (samdoyle)]

http://forums.java.net/jive/thread.jspa?messageID=239406