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, waitMethods inherited from interface org.hibernate.query.results.ResultBuilder
visitFetchBuilders
-
Constructor Details
-
Method Details
-
getJavaType
Description copied from interface:ResultBuilderThe Java type of the value returned for a result built by this builder.- Specified by:
getJavaTypein interfaceResultBuilder- See Also:
-
cacheKeyInstance
- Specified by:
cacheKeyInstancein interfaceResultBuilder
-
buildResult
public BasicResult<?> buildResult(JdbcValuesMetadata jdbcResultsMetadata, int resultPosition, DomainResultCreationState domainResultCreationState) Description copied from interface:ResultBuilderBuild a result- Specified by:
buildResultin 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
-