*/    try { if (inTransaction()) getLocalTransaction().rollback();  } catch(javax.resource.ResourceException resex) { throw new FBSQLException(resex); }
    public synchronized void close() throws SQLException {        try {            freeStatements();        } finally {                        try {                if (mc != null) {                    //if we are in a transaction started                     //automatically because autocommit = false, end it.                    if (!getAutoCommit())                     {                        setAutoCommit(true);                    } // end of if ()                                        mc.close(this);                    mc = null;                }            } finally {                invalidate();            }        }    }