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