I\'m migrating from hibernate 4.2.17 to 5.0.7 which works fine so far, but it seems that the method isActive is deprecated. I just can\'t use it anymore.
isActive
As per 5.0 Javadoc:
hibernateSession.getTransaction().getStatus() != TransactionStatus.ACTIVE