[hibernate-dev] [Search] proposing an alternative to depth in @IndexedEmbedded

Sanne Grinovero sanne at hibernate.org
Tue Aug 30 13:47:58 EDT 2011


> It sounds like @IndexPaths is acceptable to everyone.  Sanne, you seemed to be the most concerned from your last response about the direction this was going.  Any more thoughts here or does it sound reasonable to move this proposal/request into a JIRA ticket at this point?

Hi Zach,
I'm not 100% convinced but please go ahead and create a JIRA. There
are definitely good improvements to take out of this thread, we can
flesh out the details on JIRA or after a proof of concept patch.

My doubts is that I don't like adding an alternative to
@IndexedEmbedded which has the same functionality;

instead of creating a new one we could add an array of @IndexPaths to
the @IndexedEmbedded (to be interpreted as additional paths), but I'd
prefer the string in this case just because I would expect to use this
often, and typing an array of annotations as a parameter of another
annotation is just ugly :)

But a part from my taste, I'm not against this, the feature looks very
good and useful, so let's open the issue and see if we get better
ideas while implementing it.

Regards,
Sanne




More information about the hibernate-dev mailing list