Package org.neo4j.smack.pipeline.database

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


    public void setTransactionState(Invocation req, Output res) throws Exception {
        TransactionRegistry txs = req.getTxRegistry();
       
        switch(req.<TransactionStateDeserialization>getContent()) {
        case COMMITTED:
            txs.commitCurrentTransaction();
            break;
        case ROLLED_BACK:
            txs.rollbackCurrentTransaction();
            break;
        default:
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.