public class BlobTypeHandler extends BaseTypeHandler<byte[]>
configuration| Constructor and Description |
|---|
BlobTypeHandler() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getNullableResult(CallableStatement cs,
int columnIndex) |
byte[] |
getNullableResult(ResultSet rs,
int columnIndex) |
byte[] |
getNullableResult(ResultSet rs,
String columnName)
Gets the nullable result.
|
void |
setNonNullParameter(PreparedStatement ps,
int i,
byte[] parameter,
JdbcType jdbcType) |
getResult, getResult, getResult, setConfiguration, setParametergetRawType, toStringpublic void setNonNullParameter(PreparedStatement ps, int i, byte[] parameter, JdbcType jdbcType) throws SQLException
setNonNullParameter in class BaseTypeHandler<byte[]>SQLExceptionpublic byte[] getNullableResult(ResultSet rs, String columnName) throws SQLException
BaseTypeHandlergetNullableResult in class BaseTypeHandler<byte[]>rs - the rscolumnName - Colunm name, when configuration useColumnLabel is falseSQLException - the SQL exceptionpublic byte[] getNullableResult(ResultSet rs, int columnIndex) throws SQLException
getNullableResult in class BaseTypeHandler<byte[]>SQLExceptionpublic byte[] getNullableResult(CallableStatement cs, int columnIndex) throws SQLException
getNullableResult in class BaseTypeHandler<byte[]>SQLExceptionCopyright © 2009–2021 MyBatis.org. All rights reserved.