Class LocalTimeJdbcType
java.lang.Object
org.hibernate.type.descriptor.jdbc.internal.AbstractJavaTimeJdbcType<LocalTime>
org.hibernate.type.descriptor.jdbc.LocalTimeJdbcType
- All Implemented Interfaces:
Serializable,JavaTimeJdbcType,JdbcType
Descriptor for handling LocalTime directly through the JDBC driver
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintA JDBC type code that identifies the SQL column type to be used for schema generation.<T> JdbcLiteralFormatter<T>getJdbcLiteralFormatter(JavaType<T> javaType) intThe JDBC type code used when interacting with JDBC APIs.Methods inherited from class org.hibernate.type.descriptor.jdbc.internal.AbstractJavaTimeJdbcType
getBinder, getExtractor, getJdbcRecommendedJavaTypeMapping, getPreferredJavaTypeClassMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.type.descriptor.jdbc.JdbcType
addAuxiliaryDatabaseObjects, appendWriteExpression, getCastType, getCheckCondition, getDefaultSqlTypeCode, getExtraCreateTableInfo, getFriendlyName, 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
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
LocalTimeJdbcType
public LocalTimeJdbcType()
-
-
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).- Returns:
- a JDBC type code
-
getDdlTypeCode
public int getDdlTypeCode()Description copied from interface:JdbcTypeA JDBC type code that identifies the SQL column type to be used for schema generation.This value is passed to
DdlTypeRegistry.getTypeName(int, Size, Type)to obtain the SQL column type.- Returns:
- a JDBC type code
-
getJdbcLiteralFormatter
Description copied from interface:JdbcType
-