com.sun.jdi.InvocationException occurred invoking method

前端 未结 16 1281
迷失自我
迷失自我 2020-12-13 01:38

I just want to create an object of class, but got this error when debugging. Can anybody tell me what the problem is? The location of this code is in some Spring(2.5) Servic

16条回答
  •  北荒
    北荒 (楼主)
    2020-12-13 02:05

    so I had same problem here. Found out that my domain instance was getting detached from the hibernate session. I used isAttached() to check and attached the domain using d.attach()

提交回复
热议问题