From 2244ab8e6145a1e0b55649844d89cb8ffb1dec00 Mon Sep 17 00:00:00 2001 From: Jan Schatteman Date: Tue, 8 Mar 2022 16:59:50 +0100 Subject: [PATCH] Removed deprecated QueryEngine.DEFAULT_PARAMETER_METADATA_MAX_COUNT Signed-off-by: Jan Schatteman --- .../main/java/org/hibernate/cfg/AvailableSettings.java | 2 -- .../main/java/org/hibernate/query/spi/QueryEngine.java | 8 -------- 2 files changed, 10 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java b/hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java index 163476a65b..b406d3c569 100644 --- a/hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java +++ b/hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java @@ -1390,8 +1390,6 @@ public interface AvailableSettings { * The maximum number of {@link org.hibernate.query.ParameterMetadata} instances * maintained by the {@link org.hibernate.query.spi.QueryInterpretationCache}. *

- * The default maximum is - * {@value org.hibernate.query.spi.QueryEngine#DEFAULT_PARAMETER_METADATA_MAX_COUNT}. * * @deprecated this setting is not currently used */ diff --git a/hibernate-core/src/main/java/org/hibernate/query/spi/QueryEngine.java b/hibernate-core/src/main/java/org/hibernate/query/spi/QueryEngine.java index 4829a8278a..551191189d 100644 --- a/hibernate-core/src/main/java/org/hibernate/query/spi/QueryEngine.java +++ b/hibernate-core/src/main/java/org/hibernate/query/spi/QueryEngine.java @@ -62,14 +62,6 @@ public class QueryEngine { */ public static final int DEFAULT_QUERY_PLAN_MAX_COUNT = 2048; - /** - * The default strong reference count. - * - * @deprecated No longer used - */ - @Deprecated - public static final int DEFAULT_PARAMETER_METADATA_MAX_COUNT = 128; - private static final Logger LOG_HQL_FUNCTIONS = CoreLogging.logger( "org.hibernate.HQL_FUNCTIONS" ); public static QueryEngine from(SessionFactoryImplementor sessionFactory, MetadataImplementor metadata) {