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