[hibernate-dev] Should Hibernate support @Id for embedded IDs

Brett Meyer brmeyer at redhat.com
Tue Jan 15 16:56:28 EST 2013


Up until now, we've always sided with backward compatibility, even if it's against the spec.  We do have https://hibernate.onjira.com/browse/HHH-7803 to introduce settings that would ease the restrictions.  Should this fall under that?

Brett Meyer
Red Hat Software Engineer, Hibernate
+1 260.349.5732

----- Original Message -----
From: "Gail Badner" <gbadner at redhat.com>
To: "hibernate-dev at lists.jboss.org hibernate-dev" <hibernate-dev at lists.jboss.org>
Sent: Tuesday, January 15, 2013 3:29:08 PM
Subject: [hibernate-dev] Should Hibernate support @Id for embedded IDs

I've noticed that some failures using the new metamodel are due to embedded IDs being annotated with @Id instead of @EmbeddedId.

Should Hibernate support this mapping?

Thanks,
Gail
_______________________________________________
hibernate-dev mailing list
hibernate-dev at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


More information about the hibernate-dev mailing list