Spring and Hibernate suddenly set the transaction to readonly

后端 未结 7 1151
春和景丽
春和景丽 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:05

    in your web.xml put :

    
        openSessionInViewFilter
        org.springframework.orm.hibernate3.support.OpenSessionInViewFilter
        
            flushMode
            AUTO
        
    
    

提交回复
热议问题