Package net.hasor.db.transaction

Examples of net.hasor.db.transaction.Isolation.ordinal()


        defStatus.setCompleted();
        /*释放资源*/
        /*恢复当时的隔离级别*/
        Isolation transactionIsolation = defStatus.getTranConn().getOriIsolationLevel();
        if (transactionIsolation != null) {
            defStatus.getTranConn().getHolder().getConnection().setTransactionIsolation(transactionIsolation.ordinal());
        }
        defStatus.getTranConn().getHolder().released();//ref--
        defStatus.getTranConn().stopTransaction();
        /*恢复挂起的事务*/
        if (defStatus.isSuspend()) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.