[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4820) @IdClass with "extra" attributes leads to misleading error

Steve Ebersole (JIRA) noreply at atlassian.com
Tue Jan 19 12:12:33 EST 2010


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

Steve Ebersole commented on HHH-4820:
-------------------------------------

Yes, given that 'quantity' is a field on the entity which is not marked with @Id

> @IdClass with "extra" attributes leads to misleading error
> ----------------------------------------------------------
>
>                 Key: HHH-4820
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4820
>             Project: Hibernate Core
>          Issue Type: Bug
>            Reporter: Steve Ebersole
>            Assignee: Hardy Ferentschik
>
> Even if we end up not supporting HHH-4819, the error message we currently give is completely wrong.  The error message names some non- at Id annotated field in the entity class even though it is the field in the pk class that causes the issue.

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