• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Statement.close() & connection.close()

 
rose deng
Ranch Hand
Posts: 78
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic