Class LocalDateTimeJdbcType
- java.lang.Object
-
- org.hibernate.type.descriptor.jdbc.internal.AbstractJavaTimeJdbcType<LocalDateTime>
-
- org.hibernate.type.descriptor.jdbc.LocalDateTimeJdbcType
-
- All Implemented Interfaces:
Serializable
,JavaTimeJdbcType
,JdbcType
public class LocalDateTimeJdbcType extends AbstractJavaTimeJdbcType<LocalDateTime>
Descriptor for handling LocalDateTime directly through the JDBC driver- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static LocalDateTimeJdbcType
INSTANCE
-
Constructor Summary
Constructors Constructor Description LocalDateTimeJdbcType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDdlTypeCode()
A JDBC type code that identifies the SQL column type to be used for schema generation.<T> JdbcLiteralFormatter<T>
getJdbcLiteralFormatter(JavaType<T> javaType)
int
getJdbcTypeCode()
The JDBC type code used when interacting with JDBC APIs.-
Methods inherited from class org.hibernate.type.descriptor.jdbc.internal.AbstractJavaTimeJdbcType
getBinder, getExtractor, getJdbcRecommendedJavaTypeMapping, getPreferredJavaTypeClass
-
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, addAuxiliaryDatabaseObjects, appendWriteExpression, getCastType, getCheckCondition, getDefaultSqlTypeCode, getExtraCreateTableInfo, getFriendlyName, 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 Detail
-
INSTANCE
public static LocalDateTimeJdbcType INSTANCE
-
-
Method Detail
-
getJdbcTypeCode
public int getJdbcTypeCode()
Description copied from interface:JdbcType
The 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:JdbcType
A 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
public <T> JdbcLiteralFormatter<T> getJdbcLiteralFormatter(JavaType<T> javaType)
Description copied from interface:JdbcType
-
-