src/org/nutz/dao/impl/NutTxDao.java
public NutTxDao commit() {
        if (debug)
            log.debugf("commit id=%s", id);
        try {
            conn.commit();
        }
        catch (SQLException e) {
            throw new DaoException(e);
        }
        return this;
    }
public NutTxDao commit() {
        if (debug)
            log.debugf("commit id=%s", id);
        try {
            conn.commit();
        }
        catch (SQLException e) {
            throw new DaoException(e);
        }
        return this;
    }
提交事务

@return 原对象