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