You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Rick Curtis (JIRA)" <ji...@apache.org> on 2010/08/09 19:48:15 UTC
[jira] Resolved: (OPENJPA-1757) Em.refresh(..) not refreshing from
the DB when shared-cache-mode is set to ALL
[ https://issues.apache.org/jira/browse/OPENJPA-1757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rick Curtis resolved OPENJPA-1757.
----------------------------------
Resolution: Fixed
Committed revision 981664 to trunk.
> 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.