[hibernate-issues] [Hibernate-JIRA] Commented: (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:51:04 EDT 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31097#action_31097 ]
Sanne Grinovero commented on ANN-772:
-------------------------------------
actually, why shouldn't it be possible to use only @Id deprecating @EmbeddableId ?
> 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