public class ByteArrayTypeHandler extends Object implements org.apache.ibatis.type.TypeHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
ByteArrayTypeHandler.DeserializationException
Marker exception to allow deserialization issues to be dealt with by calling code.
|
static class |
ByteArrayTypeHandler.SerializationException
Marker exception to allow serialization issues to be dealt with by calling code.
|
| Constructor and Description |
|---|
ByteArrayTypeHandler() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getResult(CallableStatement cs,
int columnIndex) |
Object |
getResult(ResultSet rs,
int columnIndex) |
Object |
getResult(ResultSet rs,
String columnName) |
void |
setParameter(PreparedStatement ps,
int i,
Object parameter,
org.apache.ibatis.type.JdbcType jdbcType) |
Object |
valueOf(String s) |
public Object getResult(ResultSet rs, String columnName) throws SQLException
getResult in interface org.apache.ibatis.type.TypeHandlerByteArrayTypeHandler.DeserializationException - if the object could not be deserializedSQLExceptionpublic Object getResult(ResultSet rs, int columnIndex) throws SQLException
getResult in interface org.apache.ibatis.type.TypeHandlerSQLExceptionpublic void setParameter(PreparedStatement ps, int i, Object parameter, org.apache.ibatis.type.JdbcType jdbcType) throws SQLException
setParameter in interface org.apache.ibatis.type.TypeHandlerSQLExceptionpublic Object getResult(CallableStatement cs, int columnIndex) throws SQLException
getResult in interface org.apache.ibatis.type.TypeHandlerSQLExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.