[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4895) property mappings incorrect for composite ids with many-to-one

Steve Ebersole (JIRA) noreply at atlassian.com
Tue Feb 9 16:54:29 EST 2010


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

Steve Ebersole commented on HHH-4895:
-------------------------------------

Not overly happy with this solution, see http://fisheye.jboss.org/viewrep/Hibernate/core/trunk/core/src/main/java/org/hibernate/persister/entity/AbstractPropertyMapping.java?r1=17821&r2=18754

The same construct works from HBMBinder without these changes, so clearly AnnotationBinder is handling it differently in *some* way.

> property mappings incorrect for composite ids with many-to-one
> --------------------------------------------------------------
>
>                 Key: HHH-4895
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4895
>             Project: Hibernate Core
>          Issue Type: Bug
>    Affects Versions: 3.5.0-Beta-4
>            Reporter: Scott Marlow
>            Assignee: Steve Ebersole
>             Fix For: 3.5.0-Next
>
>          Time Spent: 1 hour, 47 minutes
>  Remaining Estimate: 0 minutes
>
> The property mappings registered (org.hibernate.persister.entity.AbstractPropertyMapping) in the case of composite primary keys with many-to-ones (<key-many-to-one/>) are incorrect.  They ended being registered as the type of the associated entity's id.

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