users@glassfish.java.net

Re: EJB Timer, JPA Entities, XA Transaction Glassfishv3 stops fl

From: <forums_at_java.net>
Date: Mon, 2 May 2011 19:27:24 -0500 (CDT)

@oversteer, I am assuming that the issue you are describing above is -
"extenal changes not visible to already entities already in second level
cache".  If you are expecting extenal changes, you can use a Refresh query
hint (http://wiki.eclipse.org/Using_EclipseLink_JPA_Extensions_(ELUG)#Refresh
[1]) to ensure that your results are refreshed with external changes. 


[1] http://wiki.eclipse.org/Using_EclipseLink_JPA_Extensions_(ELUG)#Refresh

--
[Message sent by forum member 'mm110999']
View Post: http://forums.java.net/node/704597