protected void closeResources ( Connection connection , Statement statement , ResultSet results ) { if ( results != null ) { try { results . close ( ) ; } catch ( SQLException e ) { LOG . finest ( "Caught exception closing resultSet: " + e . getMessage ( ) + " - continuing" ) ; } } closeResources ( connection , statement ) ; }
An extension point allowing derived classes to change the behavior of resource closing .