B
Big Jim
Guys,
In a a stateful session bean I'm looking up a data source that wraps a
connection pool and using it to retrieve a connection.
How do I return the connection to the pool when I'm done? Is conn.close()
the right thing to do here?
If I just let it go out of scope I eventually get an exception in the pool
with an "out of resources" error.
In a a stateful session bean I'm looking up a data source that wraps a
connection pool and using it to retrieve a connection.
How do I return the connection to the pool when I'm done? Is conn.close()
the right thing to do here?
If I just let it go out of scope I eventually get an exception in the pool
with an "out of resources" error.