Ah. I posted my message before you posted the exception.
Anyway: please make sue you are using the entityManager (and is named entityManager). This
seems correct according to your posted XML.
Your entity has to have a @Id. Make sure of that.
NPE seems to be at
EntityIdentifier key = new EntityIdentifier(entity, getEntityManager());
Eventually make a brackpoint here and see what is null.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105944#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...