Hiya!
Try:
----- Original Message -----
From: Nicolai P Guba <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 21, 2001 10:02 AM
Subject: [JBoss-user] closing PreparedStatements
> finally {
> ExtendedJDBC.close( connection, prepStmt, result );
> }
> }
>
finally
{
try { if( result != null ) result.close() ; } catch( SQLException e ) { }
try { if( prepStmt != null ) prepStmt.close() ; } catch( SQLException e )
{ }
try { if( connection != null ) connection.close() ; } catch( SQLException
e ) { }
}
Thats what I'd do....
Good Luck,
Tim.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user