File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and Relational Databases and the fly likes Statement.close() & connection.close() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Statement.close() & connection.close()" Watch "Statement.close() & connection.close()" New topic
Author

Statement.close() & connection.close()

rose deng
Ranch Hand

Joined: Dec 29, 2000
Posts: 78
Hi,
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.
 
jQuery in Action, 3rd edition
 
subject: Statement.close() & connection.close()
 
jQuery in Action, 3rd edition