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] Resolved: (OPENJPA-1757) Em.refresh(..) not refreshing from the DB when shared-cache-mode is set to ALL
Date Mon, 09 Aug 2010 17:48:15 GMT

     [ 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.


Mime
View raw message