]
Steve Ebersole closed HHH-1019.
-------------------------------
Closing stale resolved issues
Native SQL return-property mapping doesn't support dot-syntax in
return-property for components
-----------------------------------------------------------------------------------------------
Key: HHH-1019
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1019
Project: Hibernate Core
Issue Type: Improvement
Components: core
Reporter: Christian Bauer
Assignee: Emmanuel Bernard
Priority: Blocker
Fix For: 3.1.1
This is a SQL/SP mapping:
<return-property name="billingAddress.street"
column="BILLING_STREET"/>
It refers to a property in a <join> table:
<join table="BILLING_ADDRESS" optional="true">
<key column="USER_ID"/>
<component name="billingAddress" class="Address">
<property name="street"
type="string"
column="STREET"
length="255"/>
...
Calling/loading with this SQL mapping fails, as Hibernate always tries to use
"STREET" with the resultset instead of "BILLING_STREET".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: