spring中事务传播与事务隔离有关系吗?
<prop key="del*">ISOLATION_SERIALIZABLE,-Exception</prop>
这样配置就正常,
<prop key="del*">PROPAGATION_REQUIRED,ISOLATION_SERIALIZABLE,-Exception</prop>
这样配置就报错,
严重: Servlet.service() for servlet [springMVC] in context with path [/recws] threw exception [Request processing failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.springframework.transaction.InvalidIsolationLevelException: HibernateTransactionManager is not allowed to support custom isolation levels: make sure that its 'prepareConnection' flag is on (the default) and that the Hibernate connection release mode is set to 'on_close' (SpringTransactionFactory's default).] with root cause
org.springframework.transaction.InvalidIsolationLevelException: HibernateTransactionManager is not allowed to support custom isolation levels: make sure that its 'prepareConnection' flag is on (the default) and that the Hibernate connection release mode is set to 'on_close' (SpringTransactionFactory's default).