Package org.neo4j.smack.pipeline.database

Examples of org.neo4j.smack.pipeline.database.TransactionRegistry.rollbackCurrentTransaction()


        switch(req.<TransactionStateDeserialization>getContent()) {
        case COMMITTED:
            txs.commitCurrentTransaction();
            break;
        case ROLLED_BACK:
            txs.rollbackCurrentTransaction();
            break;
        default:
            throw new IllegalArgumentException("Only COMMITTED and ROLLED_BACK transaction states can be set.");
        }
       
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.