本文整理了Java中xdi2.core.Graph.rollbackTransaction()
方法的一些代码示例,展示了Graph.rollbackTransaction()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Graph.rollbackTransaction()
方法的具体详情如下:
包路径:xdi2.core.Graph
类名称:Graph
方法名:rollbackTransaction
[英]Rolls back the changes made by the transaction.
[中]
代码示例来源:origin: projectdanube/xdi2
@Override
public void exception(MessageEnvelope messageEnvelope, ExecutionContext executionContext, ExecutionResult executionResult, Xdi2MessagingException ex) throws Xdi2MessagingException {
super.exception(messageEnvelope, executionContext, executionResult, ex);
this.graph.rollbackTransaction();
}
代码示例来源:origin: projectdanube/xdi2
assertTrue(markus.containsRelation(XDIAddress.create("$is#"), XDIAddress.create("#person")));
graph18.rollbackTransaction();
graph18.rollbackTransaction();
内容来源于网络,如有侵权,请联系作者删除!