[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-1910) Polymorphic Components

Jasper Blues (JIRA) noreply at atlassian.com
Mon Oct 13 06:50:05 EDT 2008


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31409#action_31409 ] 

Jasper Blues commented on HHH-1910:
-----------------------------------

This is the same issue as HHH-3455


> Polymorphic Components
> ----------------------
>
>                 Key: HHH-1910
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1910
>             Project: Hibernate Core
>          Issue Type: New Feature
>          Components: core
>            Reporter: Joe Kelly
>
> Please add support for mapping polymorphic components (i.e. polymorphism in the <component> element). This has been requested and suggested in numerous Hibernate user forum threads. Here's a sampling of these threads:
> http://forum.hibernate.org/viewtopic.php?t=949827&highlight=component+subclass
> http://forum.hibernate.org/viewtopic.php?t=947207&highlight=component+discriminator
> http://forum.hibernate.org/viewtopic.php?t=929436&highlight=component+discriminator
> http://forum.hibernate.org/viewtopic.php?t=926027&highlight=component+discriminator
> http://forum.hibernate.org/viewtopic.php?t=930136&highlight=abstract+component
> I realize that you can create a CompositeUserType to solve this problem. In fact, I have done this on numerous occasions. However, this requires writing code, which is not nearly as convenient as writing a little bit of XML.

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