Package org.hibernate.dialect
Class PostgreSQLStructCastingJdbcType
- java.lang.Object
-
- org.hibernate.dialect.AbstractPostgreSQLStructJdbcType
-
- org.hibernate.dialect.PostgreSQLStructCastingJdbcType
-
- All Implemented Interfaces:
Serializable,AggregateJdbcType,JdbcType
public class PostgreSQLStructCastingJdbcType extends AbstractPostgreSQLStructJdbcType
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static PostgreSQLStructCastingJdbcTypeINSTANCE
-
Constructor Summary
Constructors Constructor Description PostgreSQLStructCastingJdbcType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendWriteExpression(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>getBinder(JavaType<X> javaType)Obtain a binder object capable of binding values of the given Java type to parameters of a JDBCPreparedStatement.AggregateJdbcTyperesolveAggregateJdbcType(EmbeddableMappingType mappingType, String sqlType, RuntimeModelCreationContext creationContext)-
Methods inherited from class org.hibernate.dialect.AbstractPostgreSQLStructJdbcType
createJdbcValue, extractJdbcValues, fromString, getEmbeddableMappingType, getExtractor, getJdbcRecommendedJavaTypeMapping, getJdbcTypeCode, getTypeName, 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, isBinary, isDecimal, isDuration, isFloat, isInteger, isInterval, isLob, isLobOrLong, isNationalized, isNumber, isString, isStringLike, isTemporal, registerOutParameter, registerOutParameter, wrapTopLevelSelectionExpression, wrapWriteExpression
-
-
-
-
Field Detail
-
INSTANCE
public static final PostgreSQLStructCastingJdbcType INSTANCE
-
-
Method Detail
-
resolveAggregateJdbcType
public AggregateJdbcType resolveAggregateJdbcType(EmbeddableMappingType mappingType, String sqlType, RuntimeModelCreationContext creationContext)
-
appendWriteExpression
public void appendWriteExpression(String writeExpression, SqlAppender appender, Dialect dialect)
Description copied from interface:JdbcTypeAppend the write expression wrapped in a way to be able to write values with this JdbcType's ValueBinder.
-
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.
-
-