java.lang.Object
org.seasar.doma.jdbc.type.AbstractJdbcType<byte[]>
org.seasar.doma.jdbc.type.BytesType
- All Implemented Interfaces:
SqlLogFormatter<byte[]>,JdbcType<byte[]>
A JDBC type for
Types.BINARY 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 byte[]doGetValue(CallableStatement callableStatement, int index) protected byte[]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
-
BytesType
public BytesType()
-
-
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[]>
-