users@glassfish.java.net

Re: RE: Re: GlassFish v2 Entity Cache problems

From: <glassfish_at_javadesktop.org>
Date: Tue, 24 Jun 2008 07:34:34 PDT

A refresh would defeat the purpose of caching at the Persistence Unit level. Caching Entities at the PU level provides very large performance benefits to the majority of applications.
A well thought out locking/refreshing and caching strategy needs to be implemented to handle any concurrent modifications by other threads or 3rd party software.

The specification does require that developers set both sides of a bi-directional relationship when updating relationships.
--Gordon
[Message sent by forum member 'gyorke' (gyorke)]

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