JBoss Community

Re: WrappedConnnection object

created by Wolf-Dieter Fink in Datasource Configuration - View the full discussion

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.

Reply to this message by going to Community

Start a new discussion in Datasource Configuration at Community