aspose file tools*
The moose likes JDBC and the fly likes using a connection from the pool. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "using a connection from the pool." Watch "using a connection from the pool." New topic
Author

using a connection from the pool.

Jonah Kommu
Greenhorn

Joined: Mar 09, 2011
Posts: 12
How do I know that the application that I am working on uses a connection from the pool of db connection that the application server has created rather than creating a new one?

In the DAO's should I be looking for certain explicit methods?

TIA!
Jonah Kommu
Greenhorn

Joined: Mar 09, 2011
Posts: 12

Or when within an application server that is configured to have a pool of connections, on a getConnection would the connection returned is one of the pooled connections?

thanks in advance !!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: using a connection from the pool.