[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-1910) Polymorphic Components
Larry Chu (JIRA)
noreply at atlassian.com
Thu Nov 17 16:11:22 EST 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44347#comment-44347 ]
Larry Chu commented on HHH-1910:
--------------------------------
This appears to be a dup of HHH-1152
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list