Examples of commitTranscation()


Examples of com.sogou.qadev.service.cynthia.service.DataAccessSession.commitTranscation()

             
              if (!isSingleFail) {
                Pair<ErrorCode, String> pair = das.modifyData(data);

                if (pair.getFirst().equals(ErrorCode.success)) {
                  das.commitTranscation();
                  das.updateCache(DataAccessAction.delete, data.getId().getValue(), data);
                }else {
                  isSingleFail = true;
                  errorInfo = new ErrorInfo();
                  errorInfo.setErrorDescription("数据库操作失败!");
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.