Thanks for the fast reply ... The primary key for my example is ChildPK.class and according to the ejb3 specification i have the annotation @IdClass(ChildPK.class) in my child class
all the columns in the pk class have to be present in the child class with @Id annotation so there will be two @Id annotations coz of the composite key.. the one you are talking about is the @Embeddable annotation. I am not using that. Thanks and Regards Imran View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039851#4039851 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039851 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
