openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Curtis (JIRA)" <j...@apache.org>
Subject [jira] Created: (OPENJPA-1757) Em.refresh(..) not refreshing from the DB when shared-cache-mode is set to ALL
Date Mon, 02 Aug 2010 18:17:17 GMT
Em.refresh(..) not refreshing from the DB when shared-cache-mode is set to ALL
------------------------------------------------------------------------------

                 Key: OPENJPA-1757
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1757
             Project: OpenJPA
          Issue Type: Bug
    Affects Versions: 2.0.0, 2.1.0
            Reporter: Rick Curtis
            Assignee: Rick Curtis
             Fix For: 2.1.0


<shared-cache-mode>ALL</shared-cache-mode> doesn't play nicely with em.refresh(...).

The following sequence doesn't work:

- Persist an Entity. 
- Start a transaction.
- Update that Entity via SQL UPDATE. 
- Commit the transaction.
- Call em.refresh(..) on the persisted entity.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message