users@glassfish.java.net
Re: Query.getResultList() don't show database updates
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
In reply to
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
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
This message
: [
Message body
]
Next message
:
glassfish_at_javadesktop.org: "Why do I have to restart GlassFish on every single little change? I"
Previous message
:
glassfish_at_javadesktop.org: "Re: Queue Depth in Glassfish"
In reply to
:
glassfish_at_javadesktop.org: "Query.getResultList() don't show database updates"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]