How to integrate spring with hibernate session and transaction management?

前端 未结 2 1033
一整个雨季
一整个雨季 2020-11-27 19:43

I am a beginner in both hibernate and spring. I have understood about the hibernate transaction demarcation (at least I think so). But after coding a few method like this:

2条回答
  •  感动是毒
    2020-11-27 20:14

    Remove the following line, it interferes with Spring-managed transactions:

    thread 
    

提交回复
热议问题