Re: Proper exception handling of JDBC code? Need to call connection.rollback()?

2002-09-29 Thread David Graham
() if successful and conn.close in the finally block. This reduces your JDBC code considerably. Dave From: Bomb Diggy [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Proper exception handling of JDBC code? Need to call connection.rollback()? Date

Proper exception handling of JDBC code? Need to call connection.rollback()?

2002-09-28 Thread Bomb Diggy
One of the many points I raised earlier was how to properly close a database connection, and how that might change depending on whether you were using connection pooling and/or a DataSource. The example JDBC code cited was that in the Struts 1.0.2 Javadoc: