[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4861?page=c...
]
Steve Ebersole updated HHH-4861:
--------------------------------
Summary: Allow lookup by the "simple" pk type of "parent entity"
in "derived identities" cases (was: Allow lookup by the "simple" pk
type of "parent entity" in derived identities" cases)
Allow lookup by the "simple" pk type of "parent
entity" in "derived identities" cases
-------------------------------------------------------------------------------------
Key: HHH-4861
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4861
Project: Hibernate Core
Issue Type: Bug
Components: core, entity-manager
Affects Versions: 3.5.0-Beta-3
Reporter: Emmanuel Bernard
Assignee: Steve Ebersole
In org.hibernate.test.annotations.derivedidentities.e4.a
The main entity (Person) has an id of type String
The derived entity (MedicalHistory) has an id of type
{code}@Id @OneToOne @JoinColumn Person{code}
The TCK expects to be able to do
em.find(MedicalHistory.class, "ssn");
but we do map MedicalHistory id as a core-stype embedded id so the PK is MedicalHistory
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira