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

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


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bernard resolved HHH-4840.
-----------------------------------

      Assignee: Emmanuel Bernard
    Resolution: Fixed

> 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
>            Assignee: 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