Spring and Hibernate suddenly set the transaction to readonly

后端 未结 7 1150
春和景丽
春和景丽 2021-01-04 08:20

We have an application running on JBoss 4.2.3, using Spring 2.5.2 and Hibernate 3.2.6.ga. This is running on Linux JEE01 2.6.16.60-0.54.5-smp, using its own user. Writing to

相关标签:
7条回答
  • 2021-01-04 09:15

    This is from memory so it's not very detailed. There are two ways of setting the flushmode. I think a Spring way and a Hibernate way. Because we were using the (Spring?) way only once and the Hibernate way all the other times it made the internal state of Hibernate wrong somehow. Which created my problems. When we made everything consistent the problem went away.

    0 讨论(0)
提交回复
热议问题