A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
JDBC and Relational Databases
Statement.close() & connection.close()
Joined: Dec 29, 2000
Sep 17, 2002 18:44:00
I have a question about Statement.close() and Conection.close().
if only call Connection.close(), will it also release the resources held by Statement objects that created by this connection?
Any thought is highly appreciated.
I agree. Here's the link:
subject: Statement.close() & connection.close()
2 simple questions..
java.sql.SQLException: No available resource. Wait-time expired.
Change of statements!
Closing Statement object prior to committing
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015