java.lang.Object
org.seasar.doma.jdbc.type.AbstractJdbcType<LocalDateTime>
org.seasar.doma.jdbc.type.LocalDateTimeType
- All Implemented Interfaces:
SqlLogFormatter<LocalDateTime>,JdbcType<LocalDateTime>
A JDBC type for
Types.TIMESTAMP and LocalDateTime.-
Field Summary
Fields inherited from class org.seasar.doma.jdbc.type.AbstractJdbcType
type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected LocalDateTimedoGetValue(CallableStatement callableStatement, int index) doGetValue(ResultSet resultSet, int index) protected voiddoSetValue(PreparedStatement preparedStatement, int index, LocalDateTime value) Methods inherited from class org.seasar.doma.jdbc.type.AbstractJdbcType
convertToLogFormat, getValue, getValue, registerOutParameter, setValue
-
Constructor Details
-
LocalDateTimeType
public LocalDateTimeType()
-
-
Method Details
-
doGetValue
- Specified by:
doGetValuein classAbstractJdbcType<LocalDateTime>- Throws:
SQLException
-
doSetValue
protected void doSetValue(PreparedStatement preparedStatement, int index, LocalDateTime value) throws SQLException - Specified by:
doSetValuein classAbstractJdbcType<LocalDateTime>- Throws:
SQLException
-
doGetValue
protected LocalDateTime doGetValue(CallableStatement callableStatement, int index) throws SQLException - Specified by:
doGetValuein classAbstractJdbcType<LocalDateTime>- Throws:
SQLException
-
doConvertToLogFormat
- Specified by:
doConvertToLogFormatin classAbstractJdbcType<LocalDateTime>
-