src/org/nutz/dao/impl/NutTxDao.java
public void close() {
        if (debug)
            log.debugf("close id=%s", id);
        try {
            if (conn == null)
                return;
            if (_autoCommit)
                conn.setAutoCommit(true);
            conn.close();
            conn = null;
        }
        catch (Throwable e) {
        }
    }
public void close() {
        if (debug)
            log.debugf("close id=%s", id);
        try {
            if (conn == null)
                return;
            if (_autoCommit)
                conn.setAutoCommit(true);
            conn.close();
            conn = null;
        }
        catch (Throwable e) {
        }
    }
public void close ( ) { if ( debug ) log . debugf ( "close id=%s" , id ) ; try { if ( conn == null ) return ; if ( _autoCommit ) conn . setAutoCommit ( true ) ; conn . close ( ) ; conn = null ; } catch ( Throwable e ) { } }
关闭事务及连接
关闭事务及连接