users@glassfish.java.net

Re: Query.getResultList() don't show database updates

From: <glassfish_at_javadesktop.org>
Date: Tue, 23 Dec 2008 16:11:49 PST

Short answer: you need to use EntityManager.refresh() on the query results

Long answer: http://www.nabble.com/Query-returning-stale-results-existing-td20559804.html
[Message sent by forum member 'cowwoc' (cowwoc)]

http://forums.java.net/jive/thread.jspa?messageID=323157