Hi Sanjay,
Yes, you are correct. This can be optimized to release the connection back to pool when it is not the actual one in the transaction, once closed.
Please raise a bug for the same. Category : JCA
Thanks,
-Jagadish
[Message sent by forum member 'jr158900' (jr158900)]
http://forums.java.net/jive/thread.jspa?messageID=224724