code: 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);
  	}
      }
docs: release datasource connection
  
  @param dc
  @param autoCommit