ResultMementoBasic for scalar (basic) results.
Ultimately a scalar result is defined as a column name and a BasicType
with the following notes:
hbm.xml
mappings, it is optional (positional)
BasicType. We
know the BasicType in a few different ways:Type, that is used.
Type, but do know the Java type
then we determine the BasicType based on the reported
SQL type and its known mapping to the specified Java type
BasicType to use
| Modifier and Type | Field and Description |
|---|---|
| private final ResultBuilderBasicValued | |
| public final String |
| Access | Constructor and Description |
|---|---|
| public | ResultMementoBasicStandard(ColumnResult definition, ResultSetMappingResolutionContext context)
Creation for JPA descriptor |
| public | ResultMementoBasicStandard(String explicitColumnName, BasicType<?> explicitType, ResultSetMappingResolutionContext context)
|
| Modifier and Type | Method and Description |
|---|---|
| private BasicJavaType | |
| public ResultBuilderBasicValued | resolve(Consumer<String> querySpaceConsumer, ResultSetMappingResolutionContext context)
Implements org. |
| private BasicValuedMapping |
| builder | back to summary |
|---|---|
| private final ResultBuilderBasicValued builder | |
| explicitColumnName | back to summary |
|---|---|
| public final String explicitColumnName | |
| ResultMementoBasicStandard | back to summary |
|---|---|
| public ResultMementoBasicStandard(ColumnResult definition, ResultSetMappingResolutionContext context) Creation for JPA descriptor | |
| ResultMementoBasicStandard | back to summary |
|---|---|
| public ResultMementoBasicStandard(String explicitColumnName, BasicType<?> explicitType, ResultSetMappingResolutionContext context) | |
| determineDomainJavaType | back to summary |
|---|---|
| private BasicJavaType | |
| resolve | back to summary |
|---|---|
| public ResultBuilderBasicValued resolve(Consumer<String> querySpaceConsumer, ResultSetMappingResolutionContext context) Implements org.
| |
| resolveUnderlyingMapping | back to summary |
|---|---|
| private BasicValuedMapping resolveUnderlyingMapping(ParameterizedType parameterizedType, TypeConfiguration typeConfiguration) | |