users@glassfish.java.net

Re: Problem with JPA cache

From: <glassfish_at_javadesktop.org>
Date: Tue, 01 Jul 2008 09:53:52 PDT

More information. I added code to printout the toplink ServerSession:
[i] oracle.toplink.essentials.ejb.cmp3.EntityManager del = (oracle.toplink.essentials.ejb.cmp3.EntityManager) entityManager.getDelegate();
            ServerSession sess = del.getServerSession();
            System.out.println("ServerSession is " + sess + "@" + sess.hashCode());
[/i]

The server session has the same hash code in both interactions. So this is really confusing in that it appears that the same ServerSession is being found....
[Message sent by forum member 'bbergquist' (bbergquist)]

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