aspose file tools
The moose likes JDBC and the fly likes connection pooling Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "connection pooling" Watch "connection pooling" New topic
Author

connection pooling

Tim Johnsen
Greenhorn

Joined: Oct 13, 2005
Posts: 12
I want to return a connection in my class if there is an SQL error. I am currently doing this now with a finally block but is there any other way to achieve this?
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3652

A catch block can redirect on exceptions.


My Blog: Down Home Country Coding with Scott Selikoff
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: connection pooling
 
Similar Threads
Is HTTP connectionless or connection oriented
Head First OOAD
HTTP Connection less or Connection based?
H2 database consule lockings
Jboss connection pool not releasing the connection from pool