diff --git a/coody-jdbc/src/main/java/org/coody/framework/jdbc/aspecter/TransactedAspect.java b/coody-jdbc/src/main/java/org/coody/framework/jdbc/aspecter/TransactedAspect.java index c27d59ec7826d32102d4d51c51399a0075a0227c..9f5f6b1e8b410b633d2f86aee5b6f558f197be3e 100644 --- a/coody-jdbc/src/main/java/org/coody/framework/jdbc/aspecter/TransactedAspect.java +++ b/coody-jdbc/src/main/java/org/coody/framework/jdbc/aspecter/TransactedAspect.java @@ -15,8 +15,8 @@ import org.coody.framework.jdbc.container.TransactedThreadContainer; public class TransactedAspect { /** - * 事物控制 - * + * 事务控制 + * * @param wrapper * @return * @throws Throwable @@ -29,7 +29,7 @@ public class TransactedAspect { try { TransactedThreadContainer.writeHasTransacted(); Object result = point.invoke(); - // 提交事物 + // 提交事务 List connections = TransactedThreadContainer.getConnections(); if (CommonUtil.isNullOrEmpty(connections)) { return result; @@ -42,7 +42,7 @@ public class TransactedAspect { } return result; } catch (Exception e) { - // 回滚事物 + // 回滚事务 List connections = TransactedThreadContainer.getConnections(); if (CommonUtil.isNullOrEmpty(connections)) { throw e;