[hibernate-dev] why are embedded ids indexed?

Emmanuel Bernard emmanuel at hibernate.org
Mon Jun 6 05:25:42 EDT 2011


Because somehow we need people to be able to index the id of embedded objects. And at the time, I decided that automatically indexing them was harmless.
Either we stay as is or we add a specific annotation to ask for id indexing in embedded objects

Emmanuel

On 3 juin 2011, at 14:42, Sanne Grinovero wrote:

> About this post:
> https://forum.hibernate.org/viewtopic.php?f=9&t=1011255
> 
> I remember this came up before, but I don't remember if we had
> identified a good reason for why we're storing the ids for
> @IndexedEmbedded objects?
> 
> Cheers,
> Sanne
> _______________________________________________
> 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