解决方案 »
- java学习 的 好网站、社区、博客、微博
- 关于return 的时候的疑问!
- tomcat启动问题
- jsp 转向servelet
- Spring的AOP
- struts2中 用-validation.xml进行校验时,当发生错误时,错误只在控制台里显示,在页面中不显示是怎么回事啊
- struts2如何从action跳到带参数的action
- 请教个nutch的问题?
- Tomcat启动就报一个警告!
- 3天没调明白的问题:exec TMS_ORA -A :CMDTUX_CAT:816: ERROR: Cannot exec, executable..
- 两条mybatis sql语句第二条要用到第一条查出来的数据进行模糊查询 怎么整合成一条
- struts2 + json java.lang.IllegalStateException
是在同一个事务里呀。
<!-- spring 事务管理器 -->
<bean id="transactionManager"
class="org.springframework.transaction.jta.JtaTransactionManager">
<property name="transactionManager" ref="atomikosTransactionManager"/>
<property name="userTransaction" ref="atomikosUserTransaction" />
<property name="allowCustomIsolationLevels" value="true"/>
</bean>
是在同一个事务里呀。
<!-- spring 事务管理器 -->
<bean id="transactionManager"
class="org.springframework.transaction.jta.JtaTransactionManager">
<property name="transactionManager" ref="atomikosTransactionManager"/>
<property name="userTransaction" ref="atomikosUserTransaction" />
<property name="allowCustomIsolationLevels" value="true"/>
</bean>
同一个事务里你贴这个能证明?你这两个操作是在service层有@Transactional注解的同一个方法里?
是在同一个事务里呀。
<!-- spring 事务管理器 -->
<bean id="transactionManager"
class="org.springframework.transaction.jta.JtaTransactionManager">
<property name="transactionManager" ref="atomikosTransactionManager"/>
<property name="userTransaction" ref="atomikosUserTransaction" />
<property name="allowCustomIsolationLevels" value="true"/>
</bean>
同一个事务里你贴这个能证明?你这两个操作是在service层有@Transactional注解的同一个方法里?请问这个No properties path set - looking for transactions.properties in classpath...
Using init file: /D:/Eclipse_Workspace/Test/build/classes/transactions.properties控制台输出有没有影响呀?
是在同一个事务里呀。
<!-- spring 事务管理器 -->
<bean id="transactionManager"
class="org.springframework.transaction.jta.JtaTransactionManager">
<property name="transactionManager" ref="atomikosTransactionManager"/>
<property name="userTransaction" ref="atomikosUserTransaction" />
<property name="allowCustomIsolationLevels" value="true"/>
</bean>
同一个事务里你贴这个能证明?你这两个操作是在service层有@Transactional注解的同一个方法里?请问这个No properties path set - looking for transactions.properties in classpath...
Using init file: /D:/Eclipse_Workspace/Test/build/classes/transactions.properties控制台输出有没有影响呀?
没影响。他是INFO级别的并非ERROR级别的
是在同一个事务里呀。
<!-- spring 事务管理器 -->
<bean id="transactionManager"
class="org.springframework.transaction.jta.JtaTransactionManager">
<property name="transactionManager" ref="atomikosTransactionManager"/>
<property name="userTransaction" ref="atomikosUserTransaction" />
<property name="allowCustomIsolationLevels" value="true"/>
</bean>
同一个事务里你贴这个能证明?你这两个操作是在service层有@Transactional注解的同一个方法里?请问这个No properties path set - looking for transactions.properties in classpath...
Using init file: /D:/Eclipse_Workspace/Test/build/classes/transactions.properties控制台输出有没有影响呀?
没影响。他是INFO级别的并非ERROR级别的非常感谢您的回答。