<div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 7 August 2014 22:37, Hardy Ferentschik <span dir="ltr"><<a href="mailto:hardy@hibernate.org" target="_blank">hardy@hibernate.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><br>
On 7 Jan 2014, at 19:56, Sanne Grinovero <<a href="mailto:sanne@hibernate.org">sanne@hibernate.org</a>> wrote:<br>
<br>
> I was hoping to drop @ProvidedId today as the original "marker"<br>
> functionality is no longer needed: since we have<br>
><br>
> org.hibernate.search.cfg.spi.SearchConfiguration.isIdProvidedImplicit()<br>
><br>
> the option can be implicitly applied to all indexed entries, and the<br>
> annotation is mostly redundant in Infinispan since we added this.<br>
><br>
> But actually it turns out it's a bit more complex as it servers a second<br>
> function as well: it's the only way for users to be able to specify a<br>
> FieldBridge for the ID.. so the functionality of this annotation is not<br>
> consumed yet.<br>
<br>
</div>Wouldn’t an additional explicit @FieldBridge annotation work as well?<br></blockquote><div><br></div><div><div class="gmail_default" style="font-size:small">Yes! But we'd need to apply it to the key type.</div>
<div class="gmail_default" style="font-size:small">This implies changing it to allow target @Target(TYPE), which doesn't make much sense for our ORM users, but also the name "FieldBridge" is rather odd to be applied on a type and not a field.</div>
</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div></div></div>