HHH-15567 Method name typo: registerInitilaizer in JdbcValuesSourceProcessingStateStandardImpl

This commit is contained in:
Sanne Grinovero 2022-10-01 18:30:19 +01:00 committed by Sanne Grinovero
parent ba9bd35c9d
commit 126d8473c7
4 changed files with 6 additions and 8 deletions

View File

@ -39,7 +39,6 @@ import org.hibernate.metamodel.mapping.EntityValuedModelPart;
import org.hibernate.metamodel.mapping.EntityVersionMapping;
import org.hibernate.metamodel.mapping.ManagedMappingType;
import org.hibernate.metamodel.mapping.ModelPart;
import org.hibernate.metamodel.spi.MappingMetamodelImplementor;
import org.hibernate.persister.entity.EntityPersister;
import org.hibernate.persister.entity.UniqueKeyLoadable;
import org.hibernate.property.access.internal.PropertyAccessStrategyBackRefImpl;
@ -384,7 +383,7 @@ public abstract class AbstractEntityInitializer extends AbstractFetchParentAcces
this.entityKey = new EntityKey( id, concreteDescriptor );
if ( jdbcValuesSourceProcessingState.findInitializer( entityKey ) == null ) {
jdbcValuesSourceProcessingState.registerInitilaizer( entityKey, this );
jdbcValuesSourceProcessingState.registerInitializer( entityKey, this );
}
// 3) schedule the EntityKey for batch loading, if possible

View File

@ -70,7 +70,7 @@ public class EntitySelectFetchByUniqueKeyInitializer extends EntitySelectFetchIn
.findInitializer( euk );
if ( initializer == null ) {
final JdbcValuesSourceProcessingState jdbcValuesSourceProcessingState = rowProcessingState.getJdbcValuesSourceProcessingState();
jdbcValuesSourceProcessingState.registerInitilaizer( euk, this );
jdbcValuesSourceProcessingState.registerInitializer( euk, this );
entityInstance = ( (UniqueKeyLoadable) concreteDescriptor ).loadByUniqueKey(
uniqueKeyPropertyName,

View File

@ -114,7 +114,7 @@ public class JdbcValuesSourceProcessingStateStandardImpl implements JdbcValuesSo
}
@Override
public void registerInitilaizer(
public void registerInitializer(
EntityKey entityKey,
Initializer initializer) {
if ( initializerMap == null ) {
@ -125,7 +125,7 @@ public class JdbcValuesSourceProcessingStateStandardImpl implements JdbcValuesSo
}
@Override
public void registerInitilaizer(EntityUniqueKey entityKey, Initializer initializer) {
public void registerInitializer(EntityUniqueKey entityKey, Initializer initializer) {
if ( initializerByUniquKeyMap == null ) {
initializerByUniquKeyMap = new HashMap<>();
}

View File

@ -12,7 +12,6 @@ import org.hibernate.engine.spi.EntityUniqueKey;
import org.hibernate.engine.spi.SharedSessionContractImplementor;
import org.hibernate.event.spi.PostLoadEvent;
import org.hibernate.event.spi.PreLoadEvent;
import org.hibernate.mapping.UniqueKey;
import org.hibernate.sql.results.graph.Initializer;
import org.hibernate.sql.results.spi.LoadContexts;
import org.hibernate.sql.results.graph.collection.LoadingCollectionEntry;
@ -58,11 +57,11 @@ public interface JdbcValuesSourceProcessingState {
EntityKey entityKey,
LoadingEntityEntry loadingEntry);
void registerInitilaizer(
void registerInitializer(
EntityKey entityKey,
Initializer initializer);
void registerInitilaizer(
void registerInitializer(
EntityUniqueKey entityKey,
Initializer initializer);