jsr338-experts@jpa-spec.java.net

[jsr338-experts] Re: _at_OneToOne(optional=true) and @PrimaryKeyJoinColumn

From: Emmanuel Bernard <emmanuel.bernard_at_jboss.com>
Date: Thu, 29 Sep 2011 14:30:30 +0200

On 7 sept. 2011, at 19:30, Linda DeMichiel wrote:

> In any event, I'm inclined to address this particular item with a note in section 11.1.40 to the
> effect that "It is not expected that a database foreign key be defined for the OneToOne mapping,
> as the OneToOne relationship may be defined as "optional=true".
>
> Please let me know if any of you disagree.

Fine by me.