A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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()
Closing Statement object prior to committing
2 simple questions..
java.sql.SQLException: No available resource. Wait-time expired.
Change of statements!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014