[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4689) Make sure @OrderBy supports dotted notation to point to embedded properties

Scott Marlow (JIRA) noreply at atlassian.com
Wed Jan 6 15:35:29 EST 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35121#action_35121 ] 

Scott Marlow commented on HHH-4689:
-----------------------------------

This doesn't currently work.  Component.getProperty(String propertyName) doesn't expect to be passed the dotted notation.  I think that we could change the caller or a new Component.getProperty method could drill down to the specified property.  

The caller is org.hibernate.cfg.annotations.CollectionBinder.buildOrderByClauseFromHql and I will start with a change there.  Let me know if you want me to fix this differently.


> Make sure @OrderBy supports dotted notation to point to embedded properties
> ---------------------------------------------------------------------------
>
>                 Key: HHH-4689
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4689
>             Project: Hibernate Core
>          Issue Type: Sub-task
>          Components: annotations
>            Reporter: Emmanuel Bernard
>            Assignee: Scott Marlow
>


-- 
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