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,