Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cleanup DB Resources?

Status
Not open for further replies.

Michael42

Programmer
Oct 8, 2001
1,454
US
Hello, in ASP after making a connection to a database and creating a resultset it is highly advantageous to place cleanup code to release the connection and db object vars and the like.

Is there anything in JSP that "should" be done to ensure the database (JDBC) and related vars are released?

I am already using try\catch for errors - I am looking for best practices in JSP for database code usage.

Thanks for your advice,

Michael
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top