HHH-8221 - mocking orm.xml is not processed well