void release ( DatasourceConnection dc ) { if ( dc != null ) { try { dc . getConnection ( ) . commit ( ) ; dc . getConnection ( ) . setAutoCommit ( true ) ; dc . getConnection ( ) . setTransactionIsolation ( Connection . TRANSACTION_NONE ) ; } catch ( SQLException e ) { } getManager ( ) . releaseConnection ( ThreadLocalPageContext . get ( ) , dc ) ; } }
release datasource connection