From dd036023cf7585283a2642c4a584bb870a5a8270 Mon Sep 17 00:00:00 2001 From: "nathan.xu" Date: Wed, 6 Nov 2024 22:10:50 -0500 Subject: [PATCH] correct variable naming defects in SqmTranslatorFactory and StandardSqmTranslatorFactory --- .../org/hibernate/query/sqm/sql/SqmTranslatorFactory.java | 5 +++-- .../query/sqm/sql/StandardSqmTranslatorFactory.java | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/query/sqm/sql/SqmTranslatorFactory.java b/hibernate-core/src/main/java/org/hibernate/query/sqm/sql/SqmTranslatorFactory.java index cacbfe2b97..618e736d8c 100644 --- a/hibernate-core/src/main/java/org/hibernate/query/sqm/sql/SqmTranslatorFactory.java +++ b/hibernate-core/src/main/java/org/hibernate/query/sqm/sql/SqmTranslatorFactory.java @@ -15,7 +15,8 @@ import org.hibernate.sql.ast.tree.MutationStatement; import org.hibernate.sql.ast.tree.select.SelectStatement; /** - * Factory for various + * Factory for various {@link SqmTranslator}s + * * @author Steve Ebersole */ public interface SqmTranslatorFactory { @@ -29,7 +30,7 @@ public interface SqmTranslatorFactory { boolean deduplicateSelectionItems); SqmTranslator createMutationTranslator( - SqmDmlStatement sqmDeleteStatement, + SqmDmlStatement sqmDmlStatement, QueryOptions queryOptions, DomainParameterXref domainParameterXref, QueryParameterBindings domainParameterBindings, diff --git a/hibernate-core/src/main/java/org/hibernate/query/sqm/sql/StandardSqmTranslatorFactory.java b/hibernate-core/src/main/java/org/hibernate/query/sqm/sql/StandardSqmTranslatorFactory.java index 1c0fd89983..4ccd0c5013 100644 --- a/hibernate-core/src/main/java/org/hibernate/query/sqm/sql/StandardSqmTranslatorFactory.java +++ b/hibernate-core/src/main/java/org/hibernate/query/sqm/sql/StandardSqmTranslatorFactory.java @@ -44,14 +44,14 @@ public class StandardSqmTranslatorFactory implements SqmTranslatorFactory { @Override public SqmTranslator createMutationTranslator( - SqmDmlStatement sqmDeleteStatement, + SqmDmlStatement sqmDmlStatement, QueryOptions queryOptions, DomainParameterXref domainParameterXref, QueryParameterBindings domainParameterBindings, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationContext creationContext) { return new StandardSqmTranslator<>( - sqmDeleteStatement, + sqmDmlStatement, queryOptions, domainParameterXref, domainParameterBindings,