public synchronized void registerStatementWithTransaction(org.firebirdsql.jdbc.AbstractStatement stmt) { if (stmt == null) this.stmt = stmt; else { if (stmts == null) stmts = new ArrayList();
public void registerStatementWithTransaction(isc_stmt_handle stmt) { synchronized(stmts) {
    public synchronized void registerStatementWithTransaction(org.firebirdsql.jdbc.AbstractStatement stmt) {		  if (stmt == null)            this.stmt = stmt;		  else {            if (stmts == null)                stmts = new ArrayList();            stmts.add(stmt);		  }    }