[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-1019) Native SQL return-property mapping doesn't support dot-syntax in return-property for components
Steve Ebersole (JIRA)
noreply at atlassian.com
Mon Mar 21 13:01:14 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: 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