Package org.hibernate.query
Interface OutputableType<J>
- All Superinterfaces:
BindableType<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
,SerializableToBlobType
,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()
-
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.query.BindableType
getBindableJavaType, isInstance, resolveExpressible
-
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.
-