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; import org.hibernate.sql.ast.tree.select.SelectStatement;
/** /**
* Factory for various * Factory for various {@link SqmTranslator}s
*
* @author Steve Ebersole * @author Steve Ebersole
*/ */
public interface SqmTranslatorFactory { public interface SqmTranslatorFactory {
@ -29,7 +30,7 @@ public interface SqmTranslatorFactory {
boolean deduplicateSelectionItems); boolean deduplicateSelectionItems);
SqmTranslator<? extends MutationStatement> createMutationTranslator( SqmTranslator<? extends MutationStatement> createMutationTranslator(
SqmDmlStatement<?> sqmDeleteStatement, SqmDmlStatement<?> sqmDmlStatement,
QueryOptions queryOptions, QueryOptions queryOptions,
DomainParameterXref domainParameterXref, DomainParameterXref domainParameterXref,
QueryParameterBindings domainParameterBindings, QueryParameterBindings domainParameterBindings,

View File

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