users@glassfish.java.net

Questions on EJB 3.0 and data retrieval.

From: <glassfish_at_javadesktop.org>
Date: Thu, 10 May 2007 09:00:10 PDT

I am testing EJB 3.0 and have one question.

If I retrieve and entity bean (it does a database lookup). It pulls the latest information from the database.

But if I make a change to the data in the database externally, when I do a read on the entity bean again it doesn't find the changes. I guess the EJB is being cached. But is there a way to have it detect the changes to that row and reload the data?


Thanks
Eric
[Message sent by forum member 'ericchile' (ericchile)]

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