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
[html] view plain copy
[html] view plain copy
[html] view plain copy
在上面的beans.xml配置中, 一开始没有配置add*,del*,update*等等。 就会在调用相应的方法时出错。
而获取数据则没有问题, 是因为有
[html] view plain copy
- <bean id=”transactionManager”
- class=”org.springframework.orm.hibernate3.HibernateTransactionManager”>
还没有评论,来说两句吧...