[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-2265) allow property-refs to refer to portions of the owner's composite identifier
Steve Ebersole (JIRA)
noreply at atlassian.com
Mon Apr 2 11:57:04 EDT 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Ebersole updated HHH-2265:
--------------------------------
Fix Version/s: (was: 3.2.3)
3.2.4
prep 3.2.3
> allow property-refs to refer to portions of the owner's composite identifier
> ----------------------------------------------------------------------------
>
> Key: HHH-2265
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2265
> Project: Hibernate3
> Issue Type: Improvement
> Components: core
> Affects Versions: 3.2.1
> Reporter: Steve Ebersole
> Assignee: Steve Ebersole
> Fix For: 3.2.4
>
>
> Currently property-refs cannot reference portions of a composite identifier, neither embedded or mapped variations.
> For example,
> <class name="Discount">
> <composite-id>
> <key-property name="customerId" ... />
> <key-property name="baseCode" column="DISCOUNT_BASE_CODE"... />
> </composite-id>
> <set ...>
> <key column="CODE_BASE_CODE" property-ref="id.basecode"/>
> <one-to-many class="Code"/>
> </set>
> </class>
> <class name="Code">
> <!-- some property mapped to a CODE_BASE_CODE column -->
> ...
> </class>
--
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