Interface EmbeddableDiscriminatorMapping
- All Superinterfaces:
BasicValuedMapping, BasicValuedModelPart, Bindable, DiscriminatorMapping, Fetchable, FetchOptions, FetchStyleAccess, FetchTimingAccess, JavaTypedExpressible, JdbcMappingContainer, MappingModelExpressible, ModelPart, SelectableMapping, SelectableMappings, SqlExpressible, SqlTypedMapping, ValuedModelPart, ValueMapping, VirtualModelPart
Details about the discriminator for an embeddable hierarchy.
- 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 -
Method Summary
Modifier and TypeMethodDescriptiondefault ObjectgetDiscriminatorValue(String embeddableClassName) Retrieve the relational discriminator value corresponding to the provided embeddable class 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 DiscriminatorMapping
generateFetch, getDomainJavaType, getRelationalJavaType, getUnderlyingJdbcMapping, getValueConverter, resolveDiscriminatorValue, resolveSqlExpressionMethods inherited from interface Fetchable
asAttributeMapping, getFetchableKey, getFetchableName, getMappedFetchOptions, incrementFetchDepth, isSelectable, resolveCircularFetchMethods inherited from interface FetchStyleAccess
getStyleMethods inherited from interface FetchTimingAccess
getTimingMethods inherited from interface JavaTypedExpressible
addToCacheKeyMethods inherited from interface JdbcMappingContainer
forEachJdbcTypeMethods inherited from interface ModelPart
applySqlSelections, applySqlSelections, areEqual, asEntityMappingType, breakDownJdbcValues, breakDownJdbcValues, createDomainResult, decompose, decompose, findContainingEntityMapping, getJavaType, getNavigableRole, getPartName, isEntityIdentifierMappingMethods 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
getExpressibleJavaType, getMappedType, treatAsMethods inherited from interface VirtualModelPart
isVirtual
-
Method Details
-
getDiscriminatorValue
Retrieve the relational discriminator value corresponding to the provided embeddable class name.- Throws:
HibernateException- if the embeddable class name is not handled by this discriminator
-