problem solved . It was a oneToOne relation where the id was shared by two entities and i was using it as a foreign key.
Thanks Felix!! this error was in my work another one(in the other topic) about composite keys is for my final university studies project. i gonna change @idClass annotation and i will use @EmbeddedId. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043099#4043099 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043099 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
