[hibernate-dev] Deprecating Environment#verifyProperties

Sanne Grinovero sanne at hibernate.org
Thu Oct 18 07:06:36 EDT 2018


Since this is a rather un-interesting topic I guess I'll just proceed with a PR:
- https://github.com/hibernate/hibernate-orm/pull/2594

It can easily be reverted in case someone badly wants it back.

On Wed, 17 Oct 2018 at 16:26, Sanne Grinovero <sanne at hibernate.org> wrote:
>
> Currently this method is used but not doing much at all, as maps
> OBSOLETE_PROPERTIES and RENAMED_PROPERTIES are constant and empty.
>
> I'm wondering if this is because it's just a coincidence at this point
> in time we have nothing registered in those maps, or if this strategy
> is just no longer the preferred choice to handle "out of date
> configuration properties".
>
> I'm guessing that going forward we all rather implement such logic
> using ad-hoc logic and more specific error messages?
>
> In that case I'd want to deprecate this code and remove those maps. Objections?
>
> Thanks,
> Sanne


More information about the hibernate-dev mailing list