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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...