A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
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]
I agree. Here's the link:
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