Package org.hibernate.dialect
Class PostgreSQLStructCastingJdbcType
java.lang.Object
org.hibernate.dialect.AbstractPostgreSQLStructJdbcType
org.hibernate.dialect.PostgreSQLStructCastingJdbcType
- All Implemented Interfaces:
Serializable
,AggregateJdbcType
,JdbcType
,SqlTypedJdbcType
,StructJdbcType
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
appendWriteExpression
(String writeExpression, SqlAppender appender, Dialect dialect) Append the write expression wrapped in a way to be able to write values with this JdbcType's ValueBinder.<X> ValueBinder<X>
Obtain a binder object capable of binding values of the given Java type to parameters of a JDBCPreparedStatement
.resolveAggregateJdbcType
(EmbeddableMappingType mappingType, String sqlType, RuntimeModelCreationContext creationContext) Methods inherited from class org.hibernate.dialect.AbstractPostgreSQLStructJdbcType
createJdbcValue, extractJdbcValues, fromString, getBindValue, getEmbeddableMappingType, getExtractor, getJdbcRecommendedJavaTypeMapping, getJdbcTypeCode, getRawStructFromJdbcValue, 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, getCastType, getCheckCondition, getDdlTypeCode, getDefaultSqlTypeCode, getExtraCreateTableInfo, getFriendlyName, getJdbcLiteralFormatter, getPreferredJavaTypeClass, hasDatePart, hasTimePart, isArray, isBinary, isBoolean, isComparable, isDecimal, isDuration, isFloat, isImplicitJson, isImplicitXml, isInteger, isInterval, isJson, isLob, isLobOrLong, isNationalized, isNumber, isSmallInteger, isSpatial, isString, isStringLike, isStringLikeExcludingClob, isTemporal, isXml, registerOutParameter, registerOutParameter, wrapTopLevelSelectionExpression, wrapWriteExpression
Methods inherited from interface org.hibernate.type.descriptor.jdbc.StructJdbcType
getSqlTypeName
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
PostgreSQLStructCastingJdbcType
public PostgreSQLStructCastingJdbcType()
-
-
Method Details
-
resolveAggregateJdbcType
public AggregateJdbcType resolveAggregateJdbcType(EmbeddableMappingType mappingType, String sqlType, RuntimeModelCreationContext creationContext) -
appendWriteExpression
Description copied from interface:JdbcType
Append the write expression wrapped in a way to be able to write values with this JdbcType's ValueBinder. -
getBinder
Description copied from interface:JdbcType
Obtain 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.
-