users@glassfish.java.net

Re: Glassfish DB Connection Pool Bug in Local Transaction Case

From: <glassfish_at_javadesktop.org>
Date: Wed, 27 Jun 2007 01:15:20 PDT

Hi Sanjay,

The behavior you are seeing is by design.
Suppose, there is a Bean Managed Transaction (UserTransaction), within the transaction connections will be shared. once the transaction is completed, the physical connections are mapped back so that, application can the use those connections separately.

http://blogs.sun.com/JagadishPrasath/entry/connectionsharinginglassfish
please refer: case (b) in Connection Sharing in BMPs

Thanks,
-Jagadish
[Message sent by forum member 'jr158900' (jr158900)]

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