[hibernate-dev] [Search] proposing an alternative to depth in @IndexedEmbedded
Zach Kurey
pushedbytime at gmail.com
Tue Aug 30 12:40:20 EDT 2011
On Aug 26, 2011, at 1:14 AM, Hardy Ferentschik wrote:
>> Option 1: Explicit inclusion only
>> @IndexPaths(
>> paths={
>> @IndexPath("a.b.c"),
>> @IndexPath("d.e")
>> }
>> )
>> private SomeType type;
>
> @IndexPath allows for further extension, but I could live with simple
> strings as well.
>
>
>> I would be ecstatic if just @IndexPaths was added in the near future.
>> It would be cleanly separated from @IndexEmbedded and potential for
>> confusion around depth. Then if the community desires it, or makes some
>> noise about the lack of the prune/exclude option, that can be added
>> later with no impact to the @IndexPaths approach.
>
> +1
>
> --hardy
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
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?
Thanks,
Zach
More information about the hibernate-dev
mailing list