Why this No Session found for current thread exceptions in spring 3.1 and hibernate 4

前端 未结 3 1722
名媛妹妹
名媛妹妹 2021-01-03 13:32

I was trying to configure spring 3.1 and hibernate. I have written a simple test project. where I have user domain and userDao and its implementation

let me show yo

3条回答
  •  花落未央
    2021-01-03 14:02

    You must set the propagation "REQUIRED" like this:

    
        
            
            
        
    
    

    I do not know whether this is a spring bug.

提交回复
热议问题