[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.rt.eclipselink] Re: Problem with Foreign Composite Key sharing a field with a Primary Composite Key?
|
This should work, you can make half the foreign key read-only. If you
remove the insertable/updateable=false, or move the false to be the second
JoinColumn does it work? (you may need to add an @Column with
insertable/updateable=false for the @Id owner).
If it does, then please log a bug for this.
Another workaround would be to add another basic variable for the other
foreign key, or use a DescriptorCustomizer to fix the OneToOneMapping's
foreign key fields.
---
James
http://www.nabble.com/EclipseLink---Users-f26658.html