[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-621) Unable to handle JOINED stragegy when the root entity id contains a @ManyToOne

Nathan Egge (JIRA) noreply at atlassian.com
Mon Jan 21 10:10:55 EST 2008


    [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_29394 ] 

Nathan Egge commented on ANN-621:
---------------------------------

Please ignore the post above.  The embedded primary key contained only transient member variables (on the ManyToOne associates) and that was causing a problem.  Adding getter/setter accessors for the respective id fields (with insertable=false and updatable=false) fixed it.

> Unable to handle JOINED stragegy when the root entity id contains a @ManyToOne
> ------------------------------------------------------------------------------
>
>                 Key: ANN-621
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-621
>             Project: Hibernate Annotations
>          Issue Type: Bug
>          Components: binder
>    Affects Versions: 3.3.0.ga
>            Reporter: Emmanuel Bernard
>            Assignee: Emmanuel Bernard
>            Priority: Minor
>             Fix For: 3.3.1.beta1
>
>         Attachments: test.zip
>
>


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