Class StandardJdbcValuesMapping
java.lang.Object
org.hibernate.sql.results.jdbc.internal.StandardJdbcValuesMapping
- All Implemented Interfaces:
JdbcValuesMapping
- Direct Known Subclasses:
JdbcValuesMappingImpl
-
Constructor Summary
ConstructorsConstructorDescriptionStandardJdbcValuesMapping
(List<SqlSelection> sqlSelections, List<DomainResult<?>> domainResults) -
Method Summary
Modifier and TypeMethodDescriptiondetermineDefaultLockMode
(String alias, LockMode defaultLockMode) List<DomainResult<?>>
int
int
The size of the row for caching.The JDBC selection descriptors.int[]
Mapping from value index to cache index.boolean
resolveAssemblers
(SessionFactoryImplementor sessionFactory)
-
Constructor Details
-
StandardJdbcValuesMapping
public StandardJdbcValuesMapping(List<SqlSelection> sqlSelections, List<DomainResult<?>> domainResults)
-
-
Method Details
-
getSqlSelections
Description copied from interface:JdbcValuesMapping
The JDBC selection descriptors. Used to read ResultSet values and build the "JDBC values array"- Specified by:
getSqlSelections
in interfaceJdbcValuesMapping
-
getDomainResults
- Specified by:
getDomainResults
in interfaceJdbcValuesMapping
-
getRowSize
public int getRowSize()- Specified by:
getRowSize
in interfaceJdbcValuesMapping
-
getValueIndexesToCacheIndexes
public int[] getValueIndexesToCacheIndexes()Description copied from interface:JdbcValuesMapping
Mapping from value index to cache index.- Specified by:
getValueIndexesToCacheIndexes
in interfaceJdbcValuesMapping
-
getRowToCacheSize
public int getRowToCacheSize()Description copied from interface:JdbcValuesMapping
The size of the row for caching.- Specified by:
getRowToCacheSize
in interfaceJdbcValuesMapping
-
needsResolve
public boolean needsResolve() -
resolveAssemblers
- Specified by:
resolveAssemblers
in interfaceJdbcValuesMapping
-
determineDefaultLockMode
- Specified by:
determineDefaultLockMode
in interfaceJdbcValuesMapping
-