correct variable naming defects in SqmTranslatorFactory and StandardSqmTranslatorFactory

This commit is contained in:
nathan.xu 2024-11-06 22:10:50 -05:00 committed by Christian Beikov
parent 89554833b0
commit dd036023cf
2 changed files with 5 additions and 4 deletions

View File

@ -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<? extends MutationStatement> createMutationTranslator(
SqmDmlStatement<?> sqmDeleteStatement,
SqmDmlStatement<?> sqmDmlStatement,
QueryOptions queryOptions,
DomainParameterXref domainParameterXref,
QueryParameterBindings domainParameterBindings,

View File

@ -44,14 +44,14 @@ public class StandardSqmTranslatorFactory implements SqmTranslatorFactory {
@Override
public SqmTranslator<? extends MutationStatement> createMutationTranslator(
SqmDmlStatement<?> sqmDeleteStatement,
SqmDmlStatement<?> sqmDmlStatement,
QueryOptions queryOptions,
DomainParameterXref domainParameterXref,
QueryParameterBindings domainParameterBindings,
LoadQueryInfluencers loadQueryInfluencers,
SqlAstCreationContext creationContext) {
return new StandardSqmTranslator<>(
sqmDeleteStatement,
sqmDmlStatement,
queryOptions,
domainParameterXref,
domainParameterBindings,