You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <de...@geronimo.apache.org> on 2006/12/12 01:45:20 UTC
[jira] Created: (DAYTRADER-32) OpenJPA cache needs to be flushed
when moving to jpa mode (or moving away from jpa mode)
OpenJPA cache needs to be flushed when moving to jpa mode (or moving away from jpa mode)
----------------------------------------------------------------------------------------
Key: DAYTRADER-32
URL: http://issues.apache.org/jira/browse/DAYTRADER-32
Project: DayTrader
Issue Type: Bug
Components: EJB Tier
Affects Versions: 2.0
Reporter: David Jencks
Fix For: 2.0
OpenJPA has a pretty aggressive optimistic cache, and if you do some work in jpa mode, then do work in another mode, then go back to jpa mode, the openjpa cache is going to be out of date.
Apparently the necessary call is
((OpenJPAEntityManagerFactory) emf).getStoreCache().evictAll();
Not sure how the app will get to this since the app only has an EM, not an EMF.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira