Connection is read-only. Queries leading to data
来源:互联网 发布:linux js代码美化 编辑:程序博客网 时间:2024/06/05 15:29
<bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
<property name="sessionFactory" ref="sessionFactory"></property>
</bean>
<tx:advice id="txAdvice" >
<tx:attributes>
<tx:method name="save*" propagation="REQUIRED"/>
<tx:method name="update*" propagation="REQUIRED"/>
<tx:method name="del*" propagation="REQUIRED"/>
<tx:method name="checked*" propagation="REQUIRED"/>
<tx:method name="*" read-only="true" propagation="REQUIRED"/>
</tx:attributes>
</tx:advice>
<aop:config>
<aop:pointcut expression="execution(* com.gsh.service.impl.*.*(..))" id="aopPointcut"/>
<aop:advisor advice-ref="txAdvice" pointcut-ref="aopPointcut"/>
<property name="sessionFactory" ref="sessionFactory"></property>
</bean>
<tx:advice id="txAdvice" >
<tx:attributes>
<tx:method name="save*" propagation="REQUIRED"/>
<tx:method name="update*" propagation="REQUIRED"/>
<tx:method name="del*" propagation="REQUIRED"/>
<tx:method name="checked*" propagation="REQUIRED"/>
<tx:method name="*" read-only="true" propagation="REQUIRED"/>
</tx:attributes>
</tx:advice>
<aop:config>
<aop:pointcut expression="execution(* com.gsh.service.impl.*.*(..))" id="aopPointcut"/>
<aop:advisor advice-ref="txAdvice" pointcut-ref="aopPointcut"/>
</aop:config>
spring事务影响
改成
read-only="false"
0 0
- Connection is read-only. Queries leading to data
- Connection is read-only. Queries leading to data modification are not allowe
- 解决ssh中Connection is read-only. Queries leading to data modification are not allowed
- Connection is read-only. Queries leading to data modification are not allowed
- java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed
- Connection is read-only. Queries leading to data modification are not allowed
- Cause: java.sql.SQLException: Connection is read-only. Queries leading to data modification are not
- Connection is read-only. Queries leading to data modification are not allowed
- Connection is read-only. Queries leading to data modification are not allowed
- java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed
- Connection is read-only. Queries leading to data modification are not allowed
- Connection is read-only. Queries leading to data modification are not allowed
- Cause: java.sql.SQLException: Connection is read-only. Queries leading to data modification are not
- java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed
- Connection is read-only. Queries leading to data modification are not allowed
- jeeplus Connection is read-only. Queries leading to data modification are not allowed
- Cause: java.sql.SQLException: Connection is read-only. Queries leading to data modification are not
- (dao)Connection is read-only. Queries leading to data modification are not allowed
- 锚点滑动效果
- 时间:今天、昨天、本周、上周、本月、上月、本季度、上季度、今年、去年
- 百度引擎快照天天更新
- Android手机通过wifi进行数据传输(三)
- DM6467 CCS3.3 BIOS 5.32.1使用时问题解析
- Connection is read-only. Queries leading to data
- python爬虫抓网页的总结
- Nginx配置文件详细说明(vlc访问m3u8文件-2)
- WPF备忘录(7)WPF图片资源路径介绍
- 轻松实现SQL Server与Access、Excel数据表间的导入导出 【转载】
- IOS高级教程3:UITapGestureRecognizer手势识别的简单使用到精通
- [LeetCode] Binary Tree Level Order Traversal
- HTTP Keep-Alive详解
- Eclipse 安装最新SVN插件