Is it possible to use Hibernate 5 as JPA engine in WAS Liberty Profile

前端 未结 4 1900
故里飘歌
故里飘歌 2021-01-23 10:58

I use 4.3.11 in my Liberty projects but there is a bug with Hibernate solved in version 5. I have tried upgrading but I get different exceptions.

Anybody is using Hibern

4条回答
  •  野性不改
    2021-01-23 11:15

    As of Hibernate 5.2.13, a proper transaction integration has been delivered for Liberty. If you are able to upgrade to this version of Hibernate, then it will be detected and applied automatically, and not necessary to specify hibernate.transaction.jta.platform anymore.

    See this Hibernate issue for more details: https://hibernate.atlassian.net/browse/HHH-11571

提交回复
热议问题