现在的位置: 首页 > 综合 > 正文

Spring中使用配置多个tx:annotation-driven

2013年09月07日 ⁄ 综合 ⁄ 共 134字 ⁄ 字号 评论关闭

在项目中同时用到了JDBC和Hibernate,分别配置了各自的事务,同时配置了不同的tx:annotation-driven。

但是在实际使用中,只有配置在前的tx:annotation-driven起了作用,另外一个tx:annotation-driven不起作用。

抱歉!评论已关闭.