use the referencedColumnName( ) attribute of @JoinColumn if you want to map a field other than a primary-key column, but this field must be unique
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985455#3985455 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985455 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user