jetbrick-orm/src/main/java/jetbrick/dao/orm/tx/JdbcTransaction.java
@Override
    public void close() {
        try {
            if (conn.isClosed()) {
                throw new TransactionException("the connection is closed in transaction.");
            }
            DbUtils.closeQuietly(conn);
        } catch (SQLException e) {
            throw new TransactionException(e);
        } finally {
            transationHandler.set(null);
        }
    }
@Override
    public void close() {
        try {
            if (conn.isClosed()) {
                throw new TransactionException("the connection is closed in transaction.");
            }
            DbUtils.closeQuietly(conn);
        } catch (SQLException e) {
            throw new TransactionException(e);
        } finally {
            transationHandler.set(null);
        }
    }
结束一个事务