• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Resource closing in JDBC

 
raj malhotra
Ranch Hand
Posts: 288
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I just want to know if the way i do resource closing is efficient or is there better way to do it?

Below i am giving the finally block where i handle the resource closing :-

 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35269
383
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Raj,
Someone asked this same question on Tuesday. Check out the answer in the linked thread.
 
raj malhotra
Ranch Hand
Posts: 288
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jeanne for the pointer.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic