This does not work. The id is not in the object after a getId() call. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097299#4097299 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097299