[hibernate-dev] [HSEARCH] Proposal to change the default value of Field#norms()

Andrej Golovnin golovnin at gmx.net
Tue May 8 18:43:54 EDT 2012


Hi Sanne,

> Proposal for next versions: allow @Stereotype - like user annotations?
> We would let the user define custom annotations to stack/combine
> multiple framework annotations, possibly centralizing what the
> "default" is for your app and reduce the amount of code people have to
> pile on each getter.
> I think it's reasonable to think that many user types are reused
> multiple times in a real world application having many entities, and
> likely want them to be indexed all in the same way.

+1. This is a cool idea. :-)

> 
> As an added benefit this would resolve the concerns raised by some
> users about having their domain model need to "depend" on our
> annotations at compile time.

We have no problem to depend on your annotations at compile time. :-)

Best regards,
Andrej Golovnin


More information about the hibernate-dev mailing list