HHH-8647 - hibernate.cache.use_reference_entries + queries
HHH-8285 Moving jpa/internal/metamodel and jpa/graph from hem to core
Revert "HHH-8285 Moving jpa/internal/metamodel and jpa/graph from hem to core"

This reverts commit 61483966a7ea139aa0989bdde112e57e55e3599f.
HHH-8228 - enable foreign keys in HANA dialects by defaulting to 'ON UPDATE CASCADE'
HHH-8660 - NamedEntityGraphDefinition built too early
HHH-8627 Support EntityGraphs through JPA Query hints