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.