Class JdbcValuesMappingProducerStandard
- java.lang.Object
-
- org.hibernate.sql.results.jdbc.internal.JdbcValuesMappingProducerStandard
-
- All Implemented Interfaces:
JdbcValuesMappingProducer
public class JdbcValuesMappingProducerStandard extends Object implements JdbcValuesMappingProducer
Hibernate's standard ResultSetMappingDescriptor implementation for cases where Hibernate itself creates the mappings. Basically this covers all scenarios *except*NativeQuery
processing - an important distinction as it means we do not have to perform anyResultSetMetaData
resolutions.
-
-
Constructor Summary
Constructors Constructor Description JdbcValuesMappingProducerStandard(List<SqlSelection> sqlSelections, List<DomainResult<?>> domainResults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAffectedTableNames(Set<String> affectedTableNames, SessionFactoryImplementor sessionFactory)
JdbcValuesMapping
resolve(JdbcValuesMetadata jdbcResultsMetadata, LoadQueryInfluencers loadQueryInfluencers, SessionFactoryImplementor sessionFactory)
Resolve the JdbcValuesMapping.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.results.jdbc.spi.JdbcValuesMappingProducer
cacheKeyInstance
-
-
-
-
Constructor Detail
-
JdbcValuesMappingProducerStandard
public JdbcValuesMappingProducerStandard(List<SqlSelection> sqlSelections, List<DomainResult<?>> domainResults)
-
-
Method Detail
-
addAffectedTableNames
public void addAffectedTableNames(Set<String> affectedTableNames, SessionFactoryImplementor sessionFactory)
- Specified by:
addAffectedTableNames
in interfaceJdbcValuesMappingProducer
-
resolve
public JdbcValuesMapping resolve(JdbcValuesMetadata jdbcResultsMetadata, LoadQueryInfluencers loadQueryInfluencers, SessionFactoryImplementor sessionFactory)
Description copied from interface:JdbcValuesMappingProducer
Resolve the JdbcValuesMapping. This involves resolving theDomainResult
andFetch
- Specified by:
resolve
in interfaceJdbcValuesMappingProducer
-
-