From b9d07df7f2c5ca9d96ec37a38315717b797096aa Mon Sep 17 00:00:00 2001 From: Andrea Boriero Date: Mon, 22 Jul 2019 12:22:16 +0100 Subject: [PATCH] 6 - SQM based on JPA type system --- .../org/hibernate/boot/spi/AbstractDelegatingMetadata.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingMetadata.java b/hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingMetadata.java index d107dad2e2..e486c48680 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingMetadata.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingMetadata.java @@ -21,6 +21,7 @@ import org.hibernate.boot.model.relational.Database; import org.hibernate.cfg.annotations.NamedEntityGraphDefinition; import org.hibernate.dialect.function.SQLFunction; import org.hibernate.engine.spi.FilterDefinition; +import org.hibernate.engine.spi.SessionFactoryImplementor; import org.hibernate.id.factory.IdentifierGeneratorFactory; import org.hibernate.internal.SessionFactoryImpl; import org.hibernate.mapping.FetchProfile; @@ -231,4 +232,9 @@ public abstract class AbstractDelegatingMetadata implements MetadataImplementor public Set getMappedSuperclassMappingsCopy() { return delegate.getMappedSuperclassMappingsCopy(); } + + @Override + public NamedQueryRepository buildNamedQueryRepository(SessionFactoryImplementor sessionFactory) { + return delegate.buildNamedQueryRepository( sessionFactory ); + } }