[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@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev
Re: [hibernate-dev] Should Hibernate support @Id for embedded IDs
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" To: "hibernate-dev@lists.jboss.org hibernate-dev" 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@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev
Re: [hibernate-dev] Should Hibernate support @Id for embedded IDs
Are you talking about non-aggregated composite ids? If so, the question is not just about backwards compatibilty. This is a vendor specific feature and the question becones whether that feature is still worthwhile. On Jan 15, 2013 3:56 PM, "Brett Meyer" wrote: > 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-7803to > 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" > To: "hibernate-dev@lists.jboss.org hibernate-dev" < > hibernate-dev@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@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/hibernate-dev > ___ > hibernate-dev mailing list > hibernate-dev@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/hibernate-dev > ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev
Re: [hibernate-dev] Should Hibernate support @Id for embedded IDs
This is an aggregated composite ID. - Original Message - > From: "Steve Ebersole" > To: "Brett Meyer" > Cc: "Gail Badner" , "Hibernate hibernate-dev" > > Sent: Tuesday, January 15, 2013 2:11:24 PM > Subject: Re: [hibernate-dev] Should Hibernate support @Id for embedded IDs > > > > Are you talking about non-aggregated composite ids? If so, the > question is not just about backwards compatibilty. This is a vendor > specific feature and the question becones whether that feature is > still worthwhile. > On Jan 15, 2013 3:56 PM, "Brett Meyer" < brme...@redhat.com > wrote: > > > 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" < gbad...@redhat.com > > To: " hibernate-dev@lists.jboss.org hibernate-dev" < > hibernate-dev@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@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/hibernate-dev > ___ > hibernate-dev mailing list > hibernate-dev@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/hibernate-dev > ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev
Re: [hibernate-dev] Should Hibernate support @Id for embedded IDs
I've added this to the list in HHH-7803. Thanks, Gail - Original Message - > From: "Gail Badner" > To: "Steve Ebersole" > Cc: "Hibernate hibernate-dev" > Sent: Tuesday, January 15, 2013 2:33:41 PM > Subject: Re: [hibernate-dev] Should Hibernate support @Id for embedded IDs > > This is an aggregated composite ID. > > - Original Message - > > From: "Steve Ebersole" > > To: "Brett Meyer" > > Cc: "Gail Badner" , "Hibernate hibernate-dev" > > > > Sent: Tuesday, January 15, 2013 2:11:24 PM > > Subject: Re: [hibernate-dev] Should Hibernate support @Id for > > embedded IDs > > > > > > > > Are you talking about non-aggregated composite ids? If so, the > > question is not just about backwards compatibilty. This is a vendor > > specific feature and the question becones whether that feature is > > still worthwhile. > > On Jan 15, 2013 3:56 PM, "Brett Meyer" < brme...@redhat.com > > > wrote: > > > > > > 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" < gbad...@redhat.com > > > To: " hibernate-dev@lists.jboss.org hibernate-dev" < > > hibernate-dev@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@lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/hibernate-dev > > ___ > > hibernate-dev mailing list > > hibernate-dev@lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/hibernate-dev > > > ___ > hibernate-dev mailing list > hibernate-dev@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/hibernate-dev > ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev
Re: [hibernate-dev] Should Hibernate support @Id for embedded IDs
Ah. I'd be inclined to not support that. So -1 from me On Jan 15, 2013 4:33 PM, "Gail Badner" wrote: > This is an aggregated composite ID. > > - Original Message - > > From: "Steve Ebersole" > > To: "Brett Meyer" > > Cc: "Gail Badner" , "Hibernate hibernate-dev" < > hibernate-dev@lists.jboss.org> > > Sent: Tuesday, January 15, 2013 2:11:24 PM > > Subject: Re: [hibernate-dev] Should Hibernate support @Id for embedded > IDs > > > > > > > > Are you talking about non-aggregated composite ids? If so, the > > question is not just about backwards compatibilty. This is a vendor > > specific feature and the question becones whether that feature is > > still worthwhile. > > On Jan 15, 2013 3:56 PM, "Brett Meyer" < brme...@redhat.com > wrote: > > > > > > 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" < gbad...@redhat.com > > > To: " hibernate-dev@lists.jboss.org hibernate-dev" < > > hibernate-dev@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@lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/hibernate-dev > > ___ > > hibernate-dev mailing list > > hibernate-dev@lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/hibernate-dev > > > ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev