[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-772) Should warn / throw exception when using @Id instead of @EmbeddedId on embeddables
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Tue Sep 9 10:14:05 EDT 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31117#action_31117 ]
Emmanuel Bernard commented on ANN-772:
--------------------------------------
note that @id @Type ComplexObject is a valid approach
> 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