Package org.hibernate.type
Interface OutputableType<J>
- All Superinterfaces:
BindableType<J>
,Type<J>
- All Known Subinterfaces:
AdjustableBasicType<J>
,BasicDomainType<J>
,BasicPluralType<C,
,E> BasicType<T>
,ConvertedBasicType<J>
,DiscriminatorType<O>
,ProcedureParameterExtractionAware<T>
- All Known Implementing Classes:
AbstractSingleColumnStandardBasicType
,AbstractStandardBasicType
,BasicArrayType
,BasicCollectionType
,BasicTypeImpl
,BasicTypeImpl
,BottomType
,ComponentType
,ConvertedBasicArrayType
,ConvertedBasicCollectionType
,ConvertedBasicTypeImpl
,CustomMutabilityConvertedBasicTypeImpl
,CustomMutabilityConvertedPrimitiveBasicTypeImpl
,CustomType
,DiscriminatorType
,DiscriminatorTypeImpl
,EmbeddedComponentType
,ImmutableNamedBasicTypeImpl
,JavaObjectType
,NamedBasicTypeImpl
,NullType
,PrimitiveBasicTypeImpl
,QueryParameterJavaObjectType
,SerializableType
,StandardBasicTypeTemplate
,UserComponentType
Specialization of
DomainType
for types that
can be used as a parameter output for a ProcedureCall
.- API Note:
- We assume a type that maps to exactly one SQL value, hence
getJdbcType()
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Type
Type.PersistenceType
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Can the given instance of this type actually perform the parameter value extractions?extract
(CallableStatement statement, int paramIndex, SharedSessionContractImplementor session) Perform the extractionextract
(CallableStatement statement, String paramName, SharedSessionContractImplementor session) Perform the extractionDescriptor for the SQL type mapped by this type.Methods inherited from interface org.hibernate.type.BindableType
resolveExpressible
Methods inherited from interface jakarta.persistence.metamodel.Type
getJavaType, getPersistenceType
-
Method Details
-
canDoExtraction
boolean canDoExtraction()Can the given instance of this type actually perform the parameter value extractions?- Returns:
true
indicates thatextract(java.sql.CallableStatement, int, org.hibernate.engine.spi.SharedSessionContractImplementor)
calls will not fail due toIllegalStateException
.
-
getJdbcType
JdbcType getJdbcType()Descriptor for the SQL type mapped by this type.
-