Package org.hibernate.dialect
Class PostgreSQLStructPGObjectJdbcType
- java.lang.Object
-
- org.hibernate.dialect.AbstractPostgreSQLStructJdbcType
-
- org.hibernate.dialect.PostgreSQLStructPGObjectJdbcType
-
- All Implemented Interfaces:
Serializable,AggregateJdbcType,JdbcType,SqlTypedJdbcType,StructJdbcType
public class PostgreSQLStructPGObjectJdbcType extends AbstractPostgreSQLStructJdbcType
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PostgreSQLStructPGObjectJdbcType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <X> ValueBinder<X>getBinder(JavaType<X> javaType)Obtain a binder object capable of binding values of the given Java type to parameters of a JDBCPreparedStatement.<X> ValueExtractor<X>getExtractor(JavaType<X> javaType)protected StringgetRawStructFromJdbcValue(Object rawJdbcValue)AggregateJdbcTyperesolveAggregateJdbcType(EmbeddableMappingType mappingType, String sqlType, RuntimeModelCreationContext creationContext)-
Methods inherited from class org.hibernate.dialect.AbstractPostgreSQLStructJdbcType
createJdbcValue, extractJdbcValues, fromString, getBindValue, getEmbeddableMappingType, getJdbcRecommendedJavaTypeMapping, getJdbcTypeCode, getStructTypeName, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.type.descriptor.jdbc.JdbcType
addAuxiliaryDatabaseObjects, addAuxiliaryDatabaseObjects, appendWriteExpression, getCastType, getCheckCondition, getDdlTypeCode, getDefaultSqlTypeCode, getExtraCreateTableInfo, getFriendlyName, getJdbcLiteralFormatter, getPreferredJavaTypeClass, hasDatePart, hasTimePart, isArray, isBinary, isBoolean, isComparable, isDecimal, isDuration, isFloat, isInteger, isInterval, isLob, isLobOrLong, isNationalized, isNumber, isSmallInteger, isSpatial, isString, isStringLike, isStringLikeExcludingClob, isTemporal, registerOutParameter, registerOutParameter, wrapTopLevelSelectionExpression, wrapWriteExpression
-
Methods inherited from interface org.hibernate.type.descriptor.jdbc.StructJdbcType
getSqlTypeName
-
-
-
-
Method Detail
-
resolveAggregateJdbcType
public AggregateJdbcType resolveAggregateJdbcType(EmbeddableMappingType mappingType, String sqlType, RuntimeModelCreationContext creationContext)
-
getRawStructFromJdbcValue
protected String getRawStructFromJdbcValue(Object rawJdbcValue)
- Overrides:
getRawStructFromJdbcValuein classAbstractPostgreSQLStructJdbcType
-
getBinder
public <X> ValueBinder<X> getBinder(JavaType<X> javaType)
Description copied from interface:JdbcTypeObtain a binder object capable of binding values of the given Java type to parameters of a JDBCPreparedStatement.- Parameters:
javaType- The descriptor describing the types of Java values to be bound- Returns:
- The appropriate binder.
-
getExtractor
public <X> ValueExtractor<X> getExtractor(JavaType<X> javaType)
Description copied from interface:JdbcTypeObtain an extractor object capable of extracting values of the given Java type from a JDBCResultSet.- Specified by:
getExtractorin interfaceJdbcType- Overrides:
getExtractorin classAbstractPostgreSQLStructJdbcType- Parameters:
javaType- The descriptor describing the types of Java values to be extracted- Returns:
- The appropriate extractor
-
-