When upgrading some old applications to Hibernate 5, we have encountered a problem where Hibernate tries to use the Liberty JTA Platform:
I can override this by setting hibernate.transaction.jta.platform directly. Looking at StandardJtaPlatformResolver source code, I can see that it looks first for the existence of a class com.ibm.tx.jta.TransactionManagerFactory and, if it finds it, chooses to use Liberty. At a guess, I would say this check is flawed and this class is found in Websphere 8.5.5.x not just in the Liberty profile. |