Hibernate 3.5-Final is finally here and it offers the much anticipated JPA2 support, amongst other features. I am working on a project(EJB3 based) using JBoss 5.1.0.GA and H
I have build a workaround for this specific issue. Instead of re-explaining it here, I prefer send you directly the link to the post with all details.
You can find here : How to use JPA2 on JBoss 5.x ? (or How to eliminate class loading isolation issue?)