经典的hibernate错误

碰到一个经典的hibernate错误 :
a different object with the same identifier value was already associated with the session  
     原因是:在hibernate中同一个session里面有了两个相同标识

       由于是刚接手 修改别人的代码。。 还在业务逻辑中徘徊。。
            哪位大哥有最直接的解决方法没。。 
    

猜你喜欢

转载自uucall0123.iteye.com/blog/1050301