[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2265?page=c...
]
Emmanuel Bernard commented on HHH-2265:
---------------------------------------
If the issue is about the dot notation, I handle that in Annotations through
PC.getRecursiveProperty(String)
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
Type: Improvement
Components: core
Versions: 3.2.1
Reporter: Steve Ebersole
Assignee: Steve Ebersole
Fix For: 3.2.2
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira