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

tsar_bomba do-not-reply at jboss.com
Mon Nov 13 10:46:53 EST 2006


"sisepago" wrote : 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

I'm guessing you didn't actually read my post.  I *am* doing that and it doesn't work correctly.  Have a look at the entities I showed in my original post.

Thanks anyhow.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985479#3985479

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985479



More information about the jboss-user mailing list