CHATCORE-242 fixing atomikos plugin to work with Hibernate >4.3