users@glassfish.java.net

Re: COMMUNITY HELP: GlassFish V3 admin console improvements

From: <glassfish_at_javadesktop.org>
Date: Tue, 04 Dec 2007 10:00:14 PST

> When the EJB entity manager gets out of sync with the
> database (usually because of app bugs or just active
> development) it would nice to have a "flush entity
> manager" button - obviously one could just create a
> button in their application to do the same thing...
> but I'm a lazy man.

OT, but are you talking about the EJB 2.x CMP entity manager, or a JPA EntityManager? If you're talking about the JPA entity manager, I'd love to see you application code for reseting the entire cache because I don't know of a mechanism to do this programmatically.
[Message sent by forum member 'whartung' (whartung)]

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