Taking the liberty of doing a similar change in the context of HHH-10770 - Add support for JCache-compliant 2nd-level cache providers New so that the new JCache provider does not suffer from a similar problem.