Class LocalDateJdbcType
java.lang.Object
org.hibernate.type.descriptor.jdbc.internal.AbstractJavaTimeJdbcType<LocalDate>
org.hibernate.type.descriptor.jdbc.LocalDateJdbcType
- All Implemented Interfaces:
Serializable, JavaTimeJdbcType, JdbcType
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintA JDBC type code that identifies the SQL column type 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, getPreferredJavaTypeClass, getRecommendedJavaTypeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JdbcType
addAuxiliaryDatabaseObjects, appendWriteExpression, appendWriteExpression, castFromPattern, castToPattern, getCastType, getCheckCondition, getDefaultSqlTypeCode, getExtraCreateTableInfo, getFriendlyName, getJdbcRecommendedJavaTypeMapping, hasDatePart, hasTimePart, isArray, isBinary, isBoolean, isComparable, isDecimal, isDuration, isFloat, isImplicitJson, isImplicitXml, isInteger, isInterval, isJson, isLob, isLobOrLong, isNationalized, isNumber, isSmallInteger, isSpatial, isString, isStringLike, isStringLikeExcludingClob, isTemporal, isWriteExpressionTyped, isXml, registerOutParameter, registerOutParameter, wrapTopLevelSelectionExpression, wrapWriteExpression, wrapWriteExpression
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
LocalDateJdbcType
public LocalDateJdbcType()
-
-
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 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
-