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#4105944

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105944
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to