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.- Author:
- Steve Ebersole
-
Method Summary
Modifier and TypeMethodDescriptionbooleanCan 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:
trueindicates 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.
-