Package org.hibernate.generator.values
Class GeneratedValueBasicResultBuilder
java.lang.Object
org.hibernate.generator.values.GeneratedValueBasicResultBuilder
- All Implemented Interfaces:
GraphNodeBuilder
,ResultBuilder
Simple implementation of
ResultBuilder
for retrieving generated basic values.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGeneratedValueBasicResultBuilder
(NavigablePath navigablePath, BasicValuedModelPart modelPart, TableGroup tableGroup, Integer valuesArrayPosition) -
Method Summary
Modifier and TypeMethodDescriptionBasicResult<?>
buildResult
(JdbcValuesMetadata jdbcResultsMetadata, int resultPosition, DomainResultCreationState domainResultCreationState) Build a resultClass<?>
The Java type of the value returned for a result built by this builder.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.query.results.ResultBuilder
visitFetchBuilders
-
Constructor Details
-
Method Details
-
getJavaType
Description copied from interface:ResultBuilder
The Java type of the value returned for a result built by this builder.- Specified by:
getJavaType
in interfaceResultBuilder
- See Also:
-
cacheKeyInstance
- Specified by:
cacheKeyInstance
in interfaceResultBuilder
-
buildResult
public BasicResult<?> buildResult(JdbcValuesMetadata jdbcResultsMetadata, int resultPosition, DomainResultCreationState domainResultCreationState) Description copied from interface:ResultBuilder
Build a result- Specified by:
buildResult
in interfaceResultBuilder
- Parameters:
jdbcResultsMetadata
- The JDBC values and metadataresultPosition
- The position in the domain results for the result to be builtdomainResultCreationState
- Access to useful stuff
-
getModelPart
-