[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Having trouble with OneToOne with PrimaryKeyJoinColumn

2006-09-15 Thread ldebetaz
When I try to model a bidirectional OneToOne mapping using PrimaryKeyJoinColumn I receive an "unknown mappedBy" error. When I try to model it as a unidirectional OneToOne mapping with PrimaryKeyJoinColumn I don't receive this error (there's no mappedBy so that's not a surprise) but there is no

[jboss-user] [EJB 3.0] - Re: RC6-PFD broke mappedBy and GenericGenerator workaround?

2006-09-14 Thread ldebetaz
Is there a fix or workaround for the "unknown mappedBy" problem? No matter what I try I get this error. I have a Party (parent) and a Person (child) that I want to have the same primary key. The Party needs to control the creation of the primary key value and I want Person to use the same val