Sorry, obviously Publisher and Purchase classes are the same class! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240552#4240552 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240552