Uses of Interface
org.hibernate.tuple.ValueGeneration
-
Packages that use ValueGeneration Package Description org.hibernate.annotations Package containing all Hibernate's specific annotations.org.hibernate.mapping org.hibernate.metamodel.mapping Hibernate's run-time mapping model.org.hibernate.metamodel.mapping.internal org.hibernate.tuple org.hibernate.tuple.entity org.hibernate.type -
-
Uses of ValueGeneration in org.hibernate.annotations
Classes in org.hibernate.annotations that implement ValueGeneration Modifier and Type Class Description class
CurrentTimestampGeneration
Value generation strategy for using the database `current_timestamp` function to generate the values -
Uses of ValueGeneration in org.hibernate.mapping
Methods in org.hibernate.mapping that return ValueGeneration Modifier and Type Method Description ValueGeneration
Property. getValueGenerationStrategy()
Methods in org.hibernate.mapping with parameters of type ValueGeneration Modifier and Type Method Description void
Property. setValueGenerationStrategy(ValueGeneration valueGenerationStrategy)
-
Uses of ValueGeneration in org.hibernate.metamodel.mapping
Methods in org.hibernate.metamodel.mapping that return ValueGeneration Modifier and Type Method Description ValueGeneration
AttributeMapping. getValueGeneration()
The value generation strategy to use for this attribute.Methods in org.hibernate.metamodel.mapping with parameters of type ValueGeneration Modifier and Type Method Description static GeneratedValueResolver
GeneratedValueResolver. from(ValueGeneration valueGeneration, GenerationTiming requestedTiming, int dbSelectionPosition)
-
Uses of ValueGeneration in org.hibernate.metamodel.mapping.internal
Classes in org.hibernate.metamodel.mapping.internal that implement ValueGeneration Modifier and Type Class Description class
NoValueGeneration
Methods in org.hibernate.metamodel.mapping.internal that return ValueGeneration Modifier and Type Method Description ValueGeneration
AbstractSingularAttributeMapping. getValueGeneration()
ValueGeneration
PluralAttributeMappingImpl. getValueGeneration()
Methods in org.hibernate.metamodel.mapping.internal with parameters of type ValueGeneration Modifier and Type Method Description static BasicAttributeMapping
BasicAttributeMapping. withSelectableMapping(ManagedMappingType declaringType, BasicValuedModelPart original, PropertyAccess propertyAccess, ValueGeneration valueGeneration, SelectableMapping selectableMapping)
Constructors in org.hibernate.metamodel.mapping.internal with parameters of type ValueGeneration Constructor Description AbstractSingularAttributeMapping(String name, int stateArrayPosition, AttributeMetadataAccess attributeMetadataAccess, FetchTiming fetchTiming, FetchStyle fetchStyle, ManagedMappingType declaringType, PropertyAccess propertyAccess, ValueGeneration valueGeneration)
AbstractSingularAttributeMapping(String name, int stateArrayPosition, AttributeMetadataAccess attributeMetadataAccess, FetchOptions mappedFetchOptions, ManagedMappingType declaringType, PropertyAccess propertyAccess, ValueGeneration valueGeneration)
BasicAttributeMapping(String attributeName, NavigableRole navigableRole, int stateArrayPosition, AttributeMetadataAccess attributeMetadataAccess, FetchTiming mappedFetchTiming, FetchStyle mappedFetchStyle, String tableExpression, String mappedColumnExpression, boolean isFormula, String customReadExpression, String customWriteExpression, String columnDefinition, Long length, Integer precision, Integer scale, BasicValueConverter valueConverter, JdbcMapping jdbcMapping, ManagedMappingType declaringType, PropertyAccess propertyAccess, ValueGeneration valueGeneration)
EmbeddedAttributeMapping(String name, NavigableRole navigableRole, int stateArrayPosition, String tableExpression, AttributeMetadataAccess attributeMetadataAccess, String parentInjectionAttributeName, FetchTiming mappedFetchTiming, FetchStyle mappedFetchStyle, EmbeddableMappingType embeddableMappingType, ManagedMappingType declaringType, PropertyAccess propertyAccess, ValueGeneration valueGeneration)
EmbeddedAttributeMapping(String name, NavigableRole navigableRole, int stateArrayPosition, String tableExpression, AttributeMetadataAccess attributeMetadataAccess, PropertyAccess parentInjectionAttributePropertyAccess, FetchTiming mappedFetchTiming, FetchStyle mappedFetchStyle, EmbeddableMappingType embeddableMappingType, ManagedMappingType declaringType, PropertyAccess propertyAccess, ValueGeneration valueGeneration)
VirtualEmbeddedAttributeMapping(String name, NavigableRole navigableRole, int stateArrayPosition, String tableExpression, AttributeMetadataAccess attributeMetadataAccess, String parentInjectionAttributeName, FetchTiming mappedFetchTiming, FetchStyle mappedFetchStyle, EmbeddableMappingType embeddableMappingType, ManagedMappingType declaringType, PropertyAccess propertyAccess, ValueGeneration valueGeneration)
VirtualEmbeddedAttributeMapping(String name, NavigableRole navigableRole, int stateArrayPosition, String tableExpression, AttributeMetadataAccess attributeMetadataAccess, PropertyAccess parentInjectionAttributePropertyAccess, FetchTiming mappedFetchTiming, FetchStyle mappedFetchStyle, EmbeddableMappingType embeddableMappingType, ManagedMappingType declaringType, PropertyAccess propertyAccess, ValueGeneration valueGeneration)
-
Uses of ValueGeneration in org.hibernate.tuple
Subinterfaces of ValueGeneration in org.hibernate.tuple Modifier and Type Interface Description interface
AnnotationValueGeneration<A extends Annotation>
AValueGeneration
based on a custom Java generator annotation type.Classes in org.hibernate.tuple that implement ValueGeneration Modifier and Type Class Description class
CreationTimestampGeneration
Value generation implementation forCreationTimestamp
.class
GeneratedAlwaysValueGeneration
ForGeneratedColumn
class
GeneratedValueGeneration
AAnnotationValueGeneration
which marks a property as generated in the database.class
TenantIdGeneration
Value generation implementation forTenantId
.class
UpdateTimestampGeneration
Value generation implementation forUpdateTimestamp
.class
VmValueGeneration
AAnnotationValueGeneration
which allows to specify theValueGenerator
to be used to determine the value of the annotated property.Methods in org.hibernate.tuple that return ValueGeneration Modifier and Type Method Description ValueGeneration
AbstractNonIdentifierAttribute. getValueGenerationStrategy()
ValueGeneration
BaselineAttributeInformation. getValueGenerationStrategy()
ValueGeneration
NonIdentifierAttribute. getValueGenerationStrategy()
Methods in org.hibernate.tuple with parameters of type ValueGeneration Modifier and Type Method Description BaselineAttributeInformation.Builder
BaselineAttributeInformation.Builder. setValueGenerationStrategy(ValueGeneration valueGenerationStrategy)
Constructors in org.hibernate.tuple with parameters of type ValueGeneration Constructor Description BaselineAttributeInformation(boolean lazy, boolean insertable, boolean updateable, ValueGeneration valueGenerationStrategy, boolean nullable, boolean dirtyCheckable, boolean versionable, CascadeStyle cascadeStyle, FetchMode fetchMode)
StandardProperty(String name, Type type, boolean lazy, boolean insertable, boolean updateable, ValueGeneration valueGenerationStrategy, boolean nullable, boolean checkable, boolean versionable, CascadeStyle cascadeStyle, FetchMode fetchMode)
Deprecated.Constructs NonIdentifierProperty instances. -
Uses of ValueGeneration in org.hibernate.tuple.entity
Methods in org.hibernate.tuple.entity with parameters of type ValueGeneration Modifier and Type Method Description static org.hibernate.tuple.entity.EntityMetamodel.InDatabaseValueGenerationStrategyImpl
EntityMetamodel. create(SessionFactoryImplementor sessionFactoryImplementor, Property mappingProperty, ValueGeneration valueGeneration)
-
Uses of ValueGeneration in org.hibernate.type
Methods in org.hibernate.type that return ValueGeneration Modifier and Type Method Description ValueGeneration[]
ComponentType. getPropertyValueGenerationStrategies()
-