Examples of abortTxn()


Examples of com.sleepycat.bdb.CurrentTransaction.abortTxn()

     */
    public static void rollbackTransaction(DbTxn transaction) {
        if (transaction != null) {
            try {
                CurrentTransaction currentTxn = CurrentTransaction.getInstance(cachedEnvironment);
                currentTxn.abortTxn();
            }
            catch (DbException e) {
                log.warn("Cannot rollback transaction due to: " + e, e);
            }
        }
View Full Code Here

Examples of com.sleepycat.bdb.CurrentTransaction.abortTxn()

     */
    public static void rollbackTransaction(DbTxn transaction) {
        if (transaction != null) {
            try {
                CurrentTransaction currentTxn = CurrentTransaction.getInstance(cachedEnvironment);
                currentTxn.abortTxn();
            }
            catch (DbException e) {
                log.warn("Cannot rollback transaction due to: " + e, e);
            }
        }
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.