[jboss-dev-forums] [Design of JBoss Profiler] - JPA getReference() does not work with 2.0beta1
valldeby
do-not-reply at jboss.com
Thu Jul 24 08:54:17 EDT 2008
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.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166413#4166413
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166413
More information about the jboss-dev-forums
mailing list