HHH-15567 Method name typo: registerInitilaizer in JdbcValuesSourceProcessingStateStandardImpl
This commit is contained in:
parent
ba9bd35c9d
commit
126d8473c7
|
@ -39,7 +39,6 @@ import org.hibernate.metamodel.mapping.EntityValuedModelPart;
|
||||||
import org.hibernate.metamodel.mapping.EntityVersionMapping;
|
import org.hibernate.metamodel.mapping.EntityVersionMapping;
|
||||||
import org.hibernate.metamodel.mapping.ManagedMappingType;
|
import org.hibernate.metamodel.mapping.ManagedMappingType;
|
||||||
import org.hibernate.metamodel.mapping.ModelPart;
|
import org.hibernate.metamodel.mapping.ModelPart;
|
||||||
import org.hibernate.metamodel.spi.MappingMetamodelImplementor;
|
|
||||||
import org.hibernate.persister.entity.EntityPersister;
|
import org.hibernate.persister.entity.EntityPersister;
|
||||||
import org.hibernate.persister.entity.UniqueKeyLoadable;
|
import org.hibernate.persister.entity.UniqueKeyLoadable;
|
||||||
import org.hibernate.property.access.internal.PropertyAccessStrategyBackRefImpl;
|
import org.hibernate.property.access.internal.PropertyAccessStrategyBackRefImpl;
|
||||||
|
@ -384,7 +383,7 @@ public abstract class AbstractEntityInitializer extends AbstractFetchParentAcces
|
||||||
this.entityKey = new EntityKey( id, concreteDescriptor );
|
this.entityKey = new EntityKey( id, concreteDescriptor );
|
||||||
|
|
||||||
if ( jdbcValuesSourceProcessingState.findInitializer( entityKey ) == null ) {
|
if ( jdbcValuesSourceProcessingState.findInitializer( entityKey ) == null ) {
|
||||||
jdbcValuesSourceProcessingState.registerInitilaizer( entityKey, this );
|
jdbcValuesSourceProcessingState.registerInitializer( entityKey, this );
|
||||||
}
|
}
|
||||||
|
|
||||||
// 3) schedule the EntityKey for batch loading, if possible
|
// 3) schedule the EntityKey for batch loading, if possible
|
||||||
|
|
|
@ -70,7 +70,7 @@ public class EntitySelectFetchByUniqueKeyInitializer extends EntitySelectFetchIn
|
||||||
.findInitializer( euk );
|
.findInitializer( euk );
|
||||||
if ( initializer == null ) {
|
if ( initializer == null ) {
|
||||||
final JdbcValuesSourceProcessingState jdbcValuesSourceProcessingState = rowProcessingState.getJdbcValuesSourceProcessingState();
|
final JdbcValuesSourceProcessingState jdbcValuesSourceProcessingState = rowProcessingState.getJdbcValuesSourceProcessingState();
|
||||||
jdbcValuesSourceProcessingState.registerInitilaizer( euk, this );
|
jdbcValuesSourceProcessingState.registerInitializer( euk, this );
|
||||||
|
|
||||||
entityInstance = ( (UniqueKeyLoadable) concreteDescriptor ).loadByUniqueKey(
|
entityInstance = ( (UniqueKeyLoadable) concreteDescriptor ).loadByUniqueKey(
|
||||||
uniqueKeyPropertyName,
|
uniqueKeyPropertyName,
|
||||||
|
|
|
@ -114,7 +114,7 @@ public class JdbcValuesSourceProcessingStateStandardImpl implements JdbcValuesSo
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void registerInitilaizer(
|
public void registerInitializer(
|
||||||
EntityKey entityKey,
|
EntityKey entityKey,
|
||||||
Initializer initializer) {
|
Initializer initializer) {
|
||||||
if ( initializerMap == null ) {
|
if ( initializerMap == null ) {
|
||||||
|
@ -125,7 +125,7 @@ public class JdbcValuesSourceProcessingStateStandardImpl implements JdbcValuesSo
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void registerInitilaizer(EntityUniqueKey entityKey, Initializer initializer) {
|
public void registerInitializer(EntityUniqueKey entityKey, Initializer initializer) {
|
||||||
if ( initializerByUniquKeyMap == null ) {
|
if ( initializerByUniquKeyMap == null ) {
|
||||||
initializerByUniquKeyMap = new HashMap<>();
|
initializerByUniquKeyMap = new HashMap<>();
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,6 @@ import org.hibernate.engine.spi.EntityUniqueKey;
|
||||||
import org.hibernate.engine.spi.SharedSessionContractImplementor;
|
import org.hibernate.engine.spi.SharedSessionContractImplementor;
|
||||||
import org.hibernate.event.spi.PostLoadEvent;
|
import org.hibernate.event.spi.PostLoadEvent;
|
||||||
import org.hibernate.event.spi.PreLoadEvent;
|
import org.hibernate.event.spi.PreLoadEvent;
|
||||||
import org.hibernate.mapping.UniqueKey;
|
|
||||||
import org.hibernate.sql.results.graph.Initializer;
|
import org.hibernate.sql.results.graph.Initializer;
|
||||||
import org.hibernate.sql.results.spi.LoadContexts;
|
import org.hibernate.sql.results.spi.LoadContexts;
|
||||||
import org.hibernate.sql.results.graph.collection.LoadingCollectionEntry;
|
import org.hibernate.sql.results.graph.collection.LoadingCollectionEntry;
|
||||||
|
@ -58,11 +57,11 @@ public interface JdbcValuesSourceProcessingState {
|
||||||
EntityKey entityKey,
|
EntityKey entityKey,
|
||||||
LoadingEntityEntry loadingEntry);
|
LoadingEntityEntry loadingEntry);
|
||||||
|
|
||||||
void registerInitilaizer(
|
void registerInitializer(
|
||||||
EntityKey entityKey,
|
EntityKey entityKey,
|
||||||
Initializer initializer);
|
Initializer initializer);
|
||||||
|
|
||||||
void registerInitilaizer(
|
void registerInitializer(
|
||||||
EntityUniqueKey entityKey,
|
EntityUniqueKey entityKey,
|
||||||
Initializer initializer);
|
Initializer initializer);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue