Hi Eric, Right list.
If the biggest need you have is to recognize when objects have changed, have you looked at the listeners and callback interfaces? These were put in for this kind of requirement.
Regards, Craig On Oct 31, 2007, at 1:43 PM, Eric Lindauer wrote:
Hi all, Long time JDO user, first time poster.I'd like to see JDO include a mechanism for accessing all the objects thatare: a. enlisted in a particular transaction b. managed by a particular persistence manager in it's level 1 cacheEither would do for my purposes, though I think they are both potentially useful. The most immediate need for these methods is to provide a mechanismfor an application to recognize when the data in a particularPersistenceCapable object has changed, and make callbacks / refresh data /etc. I propose the following method signatures: in javax.jdo.PersistenceManager: public Collection getManagedObjects(); in javax.jdo.Transaction: public Collection getEnlistedObjects();Thanks for your consideration. I apologize if I've written to the wronglist. Sincerely, Eric Lindauer
Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
