On Wed, Aug 2, 2017 at 7:17 PM, Emmanuel Bernard <emman...@hibernate.org> wrote:
> You would need to hardcode the definition of Object in HV's code. It's > unclear to me that it would not be detrimental. I'd keep the model generic. > And favor metadata recomputation over caching. I went the "only cache the Object metadata" road (but it's not hardcoded): https://github.com/hibernate/hibernate-validator/pull/826/files It will mitigate a bit the removal of the cache. -- Guillaume _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev