[jboss-user] [JBoss Seam] - Re: TransactionException: Could not register synchronization
sjmenden
do-not-reply at jboss.com
Wed Aug 30 13:09:32 EDT 2006
Its times like these I want to cry....then laugh really hard, as always Gavin was right, it was in my code.
The entire problem has to do in this line:
| Query query = em.createQuery("from Group where group.id = :id");
|
I left out the group alias, so hibernate has no idea what group.id means. It should be:
| Query query = em.createQuery("from Group group where group.id = :id");
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968433#3968433
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968433
More information about the jboss-user
mailing list