We're developing a app with JBoss, MySQL and JPA/Hibernate and decided to profile our project with JBoss Profiler. But no luck!
When debugging, something always goes wrong on a this line:
Table table = em.getReference(Table.class, tableId);
Where em is defined as
EntityManager em = emf.createEntityManager();
No exception is thrown. And the debugger ends up in the finally-block of our try/catch.
We're using:
JBoss 4.2.2GA on Windows for development (will be deployed on Linux). Hibernate 3.2.4
JDK 1.6.0_03
I've also noticed that both our project and the profiler uses javassist.jar (as instructed in README.txt) but unfortunately different versions.
/Martin
PS No small example at the moment.