users@glassfish.java.net

Re: shared cache, toplink.refresh hint and multiple persistence units

From: <glassfish_at_javadesktop.org>
Date: Wed, 06 Aug 2008 15:27:56 PDT

Thanks for following up.

The sequence of event is as follows:
1. start transaction with PU1
2. commit transaction with PU1
3. query modified data using PU2.

i.e. the commit is done before if i lookup using PU2.
Also, if I do the same query on PU1, before using PU2, I am getting up-to-date data.

Is it what you were asking?
[Message sent by forum member 'jbelis' (jbelis)]

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