]
Gail Badner edited comment on HHH-4982 at 10/12/11 6:02 AM:
------------------------------------------------------------
Backed out of HHH-5109 in master and 3.6.
was (Author: gbadner):
Backed out of HHH-5100 in master and 3.6.
JPA OneToOne(optional=true) not supported with @PrimaryKeyJoinColumn
--------------------------------------------------------------------
Key: HHH-4982
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4982
Project: Hibernate Core
Issue Type: Bug
Affects Versions: 3.5.5
Environment: Hibernate 3.3.1, annotations 3.4.0, MsSQL DB.
Reporter: Bruno Melloni
Assignee: Gail Badner
Labels: jpa2
Fix For: 3.6.8, 4.0.0.next
Rejected issue ANN-725 covers this partially. I might have misunderstood, but it seems
the reason for rejecting is that @NotFound provides the same capability.
All information I could find for JPA and other ORM tools indicates that this capability
is supplied by @OneToOne(optional=true). Hibernate seems to be the lone ORM tool that
requires the use of a proprietary annotation: @NotFound.
@NotFound works, but the problem is that it makes the application no longer be pure-JPA.
Not supporting pure-JPA outer joins would seem to be a major bug.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: