[hibernate-issues] [Hibernate-JIRA] Created: (ANN-772) Should warn / throw exception when using @Id instead of @EmbeddedId on embeddables

Sanne Grinovero (JIRA) noreply at atlassian.com
Sun Sep 7 11:48:04 EDT 2008


Should warn / throw exception when using @Id instead of @EmbeddedId on embeddables
----------------------------------------------------------------------------------

                 Key: ANN-772
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-772
             Project: Hibernate Annotations
          Issue Type: Improvement
          Components: binder
            Reporter: Sanne Grinovero
            Priority: Minor


apparently (forum reference: http://forum.hibernate.org/viewtopic.php?t=990357 )
no error is thrown when you try to use @Id on an embeddable PK during startup,
only "column not found" SQL error at runtime.


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