[jboss-user] [EJB 3.0] - Re: Cannot join @OneToOne on non-PK fields?

sisepago do-not-reply at jboss.com
Mon Nov 13 09:49:50 EST 2006


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



More information about the jboss-user mailing list