Hibernate 5.4.25 Final with CMT and EJB 2.1 gives no transaction in progress

Hibernate 3 with EJB and container managed transaction was working fine. But since I have upgraded to hibernate 5.4.25 with hbm based configuration . It gives no transaction in progress whereever flush is usd . It is not working with earlier CMT configuration . My websphere version is 8.5.5 . Am i wrong somewhere ?

I don’t think Websphere 8.5 supports running Hibernate 5.4 which implements the JPA 2.2 specification. Either way, you should ask your IBM support about this.