Top Fields Constructors Methods
org.hibernate.sql.results.internal

public Class ResultsHelper

extends Object
Class Inheritance
Imports
java.util.List, java.util.function.Supplier, org.hibernate.CacheMode, .LockMode, .LockOptions, org.hibernate.cache.spi.access.CollectionDataAccess, org.hibernate.cache.spi.entry.CollectionCacheEntry, org.hibernate.collection.spi.PersistentCollection, org.hibernate.engine.spi.BatchFetchQueue, .CollectionEntry, .EntityEntry, .PersistenceContext, .SessionEventListenerManager, .SessionFactoryImplementor, .SharedSessionContractImplementor, org.hibernate.event.spi.EventManager, .HibernateMonitoringEvent, org.hibernate.internal.CoreLogging, .CoreMessageLogger, org.hibernate.metamodel.mapping.ModelPart, .PluralAttributeMapping, org.hibernate.persister.collection.CollectionPersister, .QueryableCollection, org.hibernate.persister.entity.EntityPersister, org.hibernate.pretty.MessageHelper, org.hibernate.spi.NavigablePath, org.hibernate.sql.ast.spi.SqlAstCreationContext, org.hibernate.sql.exec.spi.ExecutionContext, org.hibernate.sql.results.ResultsLogger, org.hibernate.sql.results.graph.AssemblerCreationState, .DomainResultAssembler, .Initializer, org.hibernate.sql.results.graph.instantiation.DynamicInstantiationResult, org.hibernate.sql.results.jdbc.spi.JdbcValues, .JdbcValuesMapping, org.hibernate.sql.results.spi.RowReader, .RowTransformer, org.hibernate.stat.spi.StatisticsImplementor

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private static final CoreMessageLogger

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static void
addCollectionToCache(PersistenceContext persistenceContext, CollectionPersister collectionDescriptor, PersistentCollection<?> collectionInstance, Object key)

Add the collection to the second-level cache

public static <R> RowReader<R>
createRowReader(ExecutionContext executionContext, LockOptions lockOptions, RowTransformer<R> rowTransformer, Class<R> transformedResultJavaType, JdbcValues jdbcValues)

public static <R> RowReader<R>
createRowReader(ExecutionContext executionContext, LockOptions lockOptions, RowTransformer<R> rowTransformer, Class<R> transformedResultJavaType, JdbcValuesMapping jdbcValuesMapping)

public static void
finalizeCollectionLoading(PersistenceContext persistenceContext, CollectionPersister collectionDescriptor, PersistentCollection<?> collectionInstance, Object key, boolean hasNoQueuedAdds)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

LOGback to summary
private static final CoreMessageLogger LOG

Constructor Detail

ResultsHelperback to summary
public ResultsHelper()

Method Detail

addCollectionToCacheback to summary
private static void addCollectionToCache(PersistenceContext persistenceContext, CollectionPersister collectionDescriptor, PersistentCollection<?> collectionInstance, Object key)

Add the collection to the second-level cache

createRowReaderback to summary
public static <R> RowReader<R> createRowReader(ExecutionContext executionContext, LockOptions lockOptions, RowTransformer<R> rowTransformer, Class<R> transformedResultJavaType, JdbcValues jdbcValues)
createRowReaderback to summary
public static <R> RowReader<R> createRowReader(ExecutionContext executionContext, LockOptions lockOptions, RowTransformer<R> rowTransformer, Class<R> transformedResultJavaType, JdbcValuesMapping jdbcValuesMapping)
finalizeCollectionLoadingback to summary
public static void finalizeCollectionLoading(PersistenceContext persistenceContext, CollectionPersister collectionDescriptor, PersistentCollection<?> collectionInstance, Object key, boolean hasNoQueuedAdds)