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