[
https://issues.jboss.org/browse/JBSEAM-4826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614692#comment-12614692
]
Marek Novotny commented on JBSEAM-4826:
---------------------------------------
Stephan,
that is by design. If you want to read current data also from another PC you
have to call setEjbql(String) or setRestriction(List) according to java
documentation.
> EntityQuery does not pick up changes made in other persistence contexts
> -----------------------------------------------------------------------
>
> Key: JBSEAM-4826
> URL: https://issues.jboss.org/browse/JBSEAM-4826
> Project: Seam 2
> Issue Type: Bug
> Affects Versions: 2.2.2.Final
> Reporter: Stephan Bublava
>
> EntityQuery.refresh() does not call EntityManager.detach() on resultList and
> singleResult. It only ensures that the JPA query gets re-executed, but that
> will return stale data, if any changes were made in a different persistence
> context.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues