[hibernate-issues] [Hibernate-JIRA] Created: (HHH-4840) Support embedded id properties like core

Emmanuel Bernard (JIRA) noreply at atlassian.com
Mon Jan 25 12:14:30 EST 2010


Support embedded id properties like core
----------------------------------------

                 Key: HHH-4840
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4840
             Project: Hibernate Core
          Issue Type: New Feature
          Components: annotations
    Affects Versions: 3.5.0-Beta-3
            Reporter: Emmanuel Bernard
             Fix For: 3.5.0-Beta-4


<class ...>
  <composite-id>
    <property name="date" .../>
    <many-to-one name="patient"/>
  </composite-id>
</class>

@Entity
public class MedicalHistory {
  @Id String date;
  @Id @ManyToOne @JoinColumn Person patient
}

-- 
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list