Interface EntityVersionMapping
- All Superinterfaces:
BasicValuedMapping, BasicValuedModelPart, Bindable, Fetchable, JavaTypedExpressible, JdbcMappingContainer, MappingModelExpressible, ModelPart, SelectableMapping, SelectableMappings, SqlExpressible, SqlTypedMapping, ValuedModelPart, ValueMapping
Describes the mapping of an entity's version
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface Bindable
Bindable.JdbcValuesBiConsumer<X,Y>, Bindable.JdbcValuesConsumer Nested classes/interfaces inherited from interface ModelPart
ModelPart.JdbcValueBiConsumer<X,Y>, ModelPart.JdbcValueConsumer -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault AttributeMappingdefault VersionJavaType<?> The Java type for this part.The strategy for distinguishing between detached and transient state based on the version mapping.org.hibernate.metamodel.mapping.internal.BasicAttributeMappingThe attribute marked as the versionstatic booleanmatchesRoleName(String name) Methods inherited from interface BasicValuedMapping
addToCacheKey, disassemble, getJdbcMappingMethods inherited from interface BasicValuedModelPart
asBasicValuedModelPart, forEachSelectable, forEachSelectable, getJdbcMapping, getJdbcTypeCount, getPartMappingType, getSelectable, getSingleJdbcMapping, hasPartitionedSelectionMappingMethods inherited from interface Bindable
forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValueMethods inherited from interface Fetchable
generateFetch, getFetchableKey, getFetchableName, getMappedFetchOptions, incrementFetchDepth, isSelectable, resolveCircularFetchMethods inherited from interface JavaTypedExpressible
addToCacheKeyMethods inherited from interface JdbcMappingContainer
forEachJdbcTypeMethods inherited from interface ModelPart
applySqlSelections, applySqlSelections, areEqual, asEntityMappingType, breakDownJdbcValues, breakDownJdbcValues, createDomainResult, decompose, decompose, findContainingEntityMapping, getNavigableRole, getPartName, isEntityIdentifierMapping, isVirtualMethods inherited from interface SelectableMapping
getContainingTableExpression, getCustomReadExpression, getCustomWriteExpression, getSelectableName, getSelectablePath, getSelectionExpression, getWriteExpression, isFormula, isInsertable, isNullable, isPartitioned, isUpdateableMethods inherited from interface SqlTypedMapping
getArrayLength, getColumnDefinition, getJdbcMapping, getLength, getPrecision, getScale, getTemporalPrecision, isLob, toSizeMethods inherited from interface ValuedModelPart
forEachInsertable, forEachNonFormula, forEachUpdatable, getContainingTableExpressionMethods inherited from interface ValueMapping
getMappedType, treatAs
-
Field Details
-
VERSION_ROLE_NAME
- See Also:
-
-
Method Details
-
matchesRoleName
-
getVersionAttribute
org.hibernate.metamodel.mapping.internal.BasicAttributeMapping getVersionAttribute()The attribute marked as the version -
getUnsavedStrategy
VersionValue getUnsavedStrategy()The strategy for distinguishing between detached and transient state based on the version mapping.- See Also:
-
getJavaType
VersionJavaType<?> getJavaType()Description copied from interface:ModelPartThe Java type for this part. Generally equivalent toMappingType.getMappedJavaType()relative toModelPart.getPartMappingType()- Specified by:
getJavaTypein interfaceModelPart
-
getExpressibleJavaType
- Specified by:
getExpressibleJavaTypein interfaceJavaTypedExpressible- Specified by:
getExpressibleJavaTypein interfaceValueMapping
-
asAttributeMapping
- Specified by:
asAttributeMappingin interfaceFetchable- Specified by:
asAttributeMappingin interfaceModelPart
-