For the hashcode method, it's being called too but the id (paiId) is always null. Please Help!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122954#4122954 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122954