[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-1152) Value object(<component>) inheritance mapping

Jonni Gani (JIRA) noreply at atlassian.com
Mon Jun 11 09:28:04 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_27200 ] 

Jonni Gani commented on HHH-1152:
---------------------------------

Just to echo Vjeran, component inheritance similar to entity inheritance would be good, though the one I'm particularly interested in is 'Table per class hierarchy' with a discriminator column. This issue should get a higher priority as it's essential for good model design with proper distinction between Entity and Value Object.

> Value object(<component>) inheritance mapping
> ---------------------------------------------
>
>                 Key: HHH-1152
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1152
>             Project: Hibernate3
>          Issue Type: New Feature
>          Components: core
>    Affects Versions: 3.1 beta 2
>            Reporter: Vjeran Marcinko
>            Priority: Minor
>
> Though fine-grained object mapping is one of Hibernate's main objectives, it still doesn't support *value object* (<component>) inheritance mapping, only entity inheritance mapping.
> It would be best if <component> tag could also contain similar tags for inheritance as entity does.

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