HHH000142 javassist enhancement failed cannot be cast to org.hibernate.proxy.hibernateproxy


#1

I am using hibernate 5.0.9 on EAP7.

Using JPA .

getting HHH000142 javassist enhancement failed cannot be cast to org.hibernate.proxy.hibernateproxy

what could be reason ?


#2

Try replicating it with this test case template.