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