Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
Joined: Oct 13, 2005
Nov 04, 2005 09:32:00
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?
Joined: Oct 23, 2005
Nov 04, 2005 18:51:00
A catch block can redirect on exceptions.
[OCA 8 Book]
Have you checked out
subject: connection pooling
HTTP Connection less or Connection based?
Head First OOAD
Jboss connection pool not releasing the connection from pool
H2 database consule lockings
Is HTTP connectionless or connection oriented
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015