Java Spring事务管理传播\u必需,隔离\u默认值

Java Spring事务管理传播\u必需,隔离\u默认值,java,spring,Java,Spring,我有以下日志,是否需要考虑此错误? 我的事务配置有问题吗 使用弹簧3.1.1 [DEBUG]-2015-03-17 14:45:18,957 DataSourceTransactionManager: Creating new transaction with name [com.mydao.updateUserInfo]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT; '',-java.lang.Exception 你为什么认为有错误 该行仅跟踪trans

我有以下日志,是否需要考虑此错误? 我的事务配置有问题吗

使用弹簧3.1.1

[DEBUG]-2015-03-17 14:45:18,957 DataSourceTransactionManager: Creating new transaction with name [com.mydao.updateUserInfo]: 
PROPAGATION_REQUIRED,ISOLATION_DEFAULT; '',-java.lang.Exception

你为什么认为有错误


该行仅跟踪transactionManager的创建及其配置。此处打印的
java.lang.Exception
可能是
rollbackor
参数的值(发生时将触发事务回滚的异常类型)。异常是此处的默认值。

此字符串是在
DefaultTransactionDefinition
类的
toString()方法中生成的。根据文档,
toString()
方法生成事务定义的描述,格式与
org.springframework.transaction.interceptor.TransactionAttributeEditor
匹配

TransactionAttributeEditor
以以下格式生成字符串

传播名称、隔离名称、只读、, 超时\u NNNN,+异常1,-异常2

异常名称子字符串前的“+”表示事务 即使抛出此异常,也应提交;a他们应该 回退