HHH-8252 Correct metamodel support for custom SQL annotations
added @FailureExpected on a new test from master merge