话说我没遇到过。这个问题是否可以debug下,能确认问题是出在spring还是hibernate。可以给他们发邮件反馈
解决方案 »
- 求助一个JSP路径的问题,谢谢!
- 开发大型网上商场项目
- 大家说说。。struts2 jsp和action的传值机制是什么???
- SQL语句如何获得刚插入的记录
- JSP页面中,同名HTML变量构成的数组,在提交的时候它们的值在数组中是不是有先序的?
- 如何判断request.getParameter("name")的变量是否存在?
- ajax的问题?
- 很弱的弹出窗口的问题
- 请问在jsp中如何删除文件?
- maven多模块项目制定jar依赖 scope为test 其他项目中不能访问??“????
- 写个简单的jsp文件,返回一个JSON数据
- servlet 如何获取多选下拉菜单所有的值,包括选择的和未选择的两部分
<bean id="txManager"
class="org.springframework.orm.hibernate3.HibernateTransactionManager">
<property name="sessionFactory">
<ref local="sessionFactory" />
</property>
</bean>
<aop:config>
<aop:pointcut id="serviceOperation"
expression="execution(* com.xxx.service.*.*(..))" />
<aop:advisor advice-ref="txAdvice" pointcut-ref="serviceOperation" />
</aop:config> <tx:advice id="txAdvice" transaction-manager="txManager">
<tx:attributes>
<tx:method name="*" read-only="true" />
<tx:method name="save*" read-only="false" propagation="REQUIRED"/>
<tx:method name="update*" read-only="false" propagation="REQUIRED"/>
<tx:method name="remove*" read-only="false" propagation="REQUIRED"/>
</tx:attributes>
</tx:advice>