This content has been marked as final.
Show 1 reply
-
1. Re: WrappedConnnection object
wdfink Oct 31, 2012 8:46 AM (in response to mpriess)As it is the responsibility of the application server how the connection is handled there is a need to wrap it.
i.e. you will get a connection via JNDI and you are supposed to close it after you're finished.
But the connection is not really closed, the wrapper catch the close and mark the connection that it can be returned to pool after finished the transaction.