数据库是mysql
spring配置文件
<bean id="TieZiService"
class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
<property name="transactionManager">
<ref bean="myTransactionManager" />
</property>
<property name="target">
<ref bean="TieZi" />
</property>
<property name="transactionAttributes">
<props>
<prop key="tax*">PROPAGATION_REQUIRED,-Exception</prop>
</props>
</property>
</bean>
<bean id="TieZi"
class="move.qz.struts.service.TieZiService">
<property name="user">
<ref bean="userDAO" />
</property>
<property name="tzdao">
<ref bean="tieZiDAO" />
</property>
<property name="accountSzMxDAO">
<ref bean="accountSzMxDAO" />
</property>
</bean>网站有个定时器,在后台每三分钟执行一次代码,但这个后台调用没执行到tax开头的方法。
但在我查看用户信息时,就卡住了,我困惑的是一直没执行有事务的方法,如何锁住的呢?
请高手解答,我这边有环境可远程调试,期待您的帮助