How do I get an handle to the weblogic ConnectionPool object in my application and release the connection back to the pool? We arent using any entity bean, are accessing the database through helper classes (Fast Lane Read Pattern).
- Posted by: Omprakash Subramani
- Posted on: May 21 2002 06:41 EDT
Jndi lookup to get the datasource.
then datasource.getConnection() will give you the connection object.
As Shiva said, get the connection from datasource.Once you are done, close the connection.The Connection will be sent back to the POOL.