Class TimeAsTimestampWithTimeZoneJdbcType
java.lang.Object
org.hibernate.type.descriptor.jdbc.TimestampWithTimeZoneJdbcType
org.hibernate.type.descriptor.jdbc.TimeAsTimestampWithTimeZoneJdbcType
- All Implemented Interfaces:
Serializable,JdbcType
Descriptor for
TIMESTAMP_WITH_TIMEZONE handling.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintA JDBC type code that identifies the SQL column type.A "friendly" name for use in logging<T> JdbcLiteralFormatter<T>getJdbcLiteralFormatter(JavaType<T> javaType) <T> JavaType<T>getJdbcRecommendedJavaTypeMapping(Integer length, Integer scale, TypeConfiguration typeConfiguration) intThe JDBC type code used when interacting with JDBC APIs.toString()Methods inherited from class org.hibernate.type.descriptor.jdbc.TimestampWithTimeZoneJdbcType
getBinder, getExtractor, getPreferredJavaTypeClassMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.type.descriptor.jdbc.JdbcType
addAuxiliaryDatabaseObjects, addAuxiliaryDatabaseObjects, appendWriteExpression, getCastType, getCheckCondition, getDdlTypeCode, getExtraCreateTableInfo, 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
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
TimeAsTimestampWithTimeZoneJdbcType
public TimeAsTimestampWithTimeZoneJdbcType()
-
-
Method Details
-
getJdbcTypeCode
public int getJdbcTypeCode()Description copied from interface:JdbcTypeThe JDBC type code used when interacting with JDBC APIs.For example, it's used when calling
PreparedStatement.setNull(int, int).- Specified by:
getJdbcTypeCodein interfaceJdbcType- Overrides:
getJdbcTypeCodein classTimestampWithTimeZoneJdbcType- Returns:
- a JDBC type code
-
getDefaultSqlTypeCode
public int getDefaultSqlTypeCode()Description copied from interface:JdbcTypeA JDBC type code that identifies the SQL column type.This value might be different from
JdbcType.getDdlTypeCode()if the actual type e.g. JSON is emulated through a type like CLOB.- Returns:
- a JDBC type code
-
getFriendlyName
Description copied from interface:JdbcTypeA "friendly" name for use in logging- Specified by:
getFriendlyNamein interfaceJdbcType- Overrides:
getFriendlyNamein classTimestampWithTimeZoneJdbcType
-
toString
- Overrides:
toStringin classTimestampWithTimeZoneJdbcType
-
getJdbcRecommendedJavaTypeMapping
public <T> JavaType<T> getJdbcRecommendedJavaTypeMapping(Integer length, Integer scale, TypeConfiguration typeConfiguration) - Specified by:
getJdbcRecommendedJavaTypeMappingin interfaceJdbcType- Overrides:
getJdbcRecommendedJavaTypeMappingin classTimestampWithTimeZoneJdbcType
-
getJdbcLiteralFormatter
Description copied from interface:JdbcTypeObtain a formatter object capable of rendering values of the given Java type as SQL literals of the type represented by this object.- Specified by:
getJdbcLiteralFormatterin interfaceJdbcType- Overrides:
getJdbcLiteralFormatterin classTimestampWithTimeZoneJdbcType
-