Hibernate UnknownServiceException :Unknown service requested as transaction completed

后端 未结 4 1623
滥情空心
滥情空心 2021-02-13 12:40

I have a simple class which starts 3 threads and saves a new object in each thread. But I am getting exception which i cannot understand. Can anyone help me understand why the e

4条回答
  •  我在风中等你
    2021-02-13 13:06

    if its helpful for anybody else, for me this meant "you did a mockito spy(database)" in a previous unit test, which somehow hosed hibernate. Go figure.

提交回复
热议问题