This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JDBC and the fly likes Statement.close() & connection.close() Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Statement.close() & connection.close()
 
Similar Threads
2 simple questions..
Result Set
Closing Statement object prior to committing
java.sql.SQLException: No available resource. Wait-time expired.
Change of statements!