5.4.30.Final breaks @NamedNativeQueries on @MappedSuperclass abstract classes

Description

5.4.30.Final breaks @NamedNativeQueries on @MappedSuperclass abstract classes

Latest version of hibernate does not find NamedNativeQueries. All previous version including 5.4.29.Final work with no errors.

Steps to reproduce the error:
open attached project hibernate-orm-5-test
run ORMUnitTestCase.java test case
test will complete succesfully

edit project pom
change version.org.hibernate value to 5.4.30.Final
rerun test, test will fail

Environment

Windows 20H2
Java AdoptOpenJDK (build 11.0.10+9)
Maven 3.8.1
hibernate 5.4.29.Final, 5.4.30.Final

Assignee

Unassigned

Reporter

Vlad Paln