public class SerializableTypeHandler extends Object implements org.apache.ibatis.type.TypeHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
SerializableTypeHandler.DeserializationException
Marker exception to allow deserialization issues to be dealt with by calling code.
|
static class |
SerializableTypeHandler.SerializationException
Marker exception to allow serialization issues to be dealt with by calling code.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_SERIALIZABLE_TYPE |
| Constructor and Description |
|---|
SerializableTypeHandler() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getResult(CallableStatement cs,
int columnIndex) |
Object |
getResult(ResultSet rs,
int columnIndex) |
Object |
getResult(ResultSet rs,
String columnName) |
static int |
getSerializableType() |
void |
setParameter(PreparedStatement ps,
int i,
Object parameter,
org.apache.ibatis.type.JdbcType jdbcType) |
static void |
setSerializableType(int serializableType) |
Object |
valueOf(String s) |
public static final int DEFAULT_SERIALIZABLE_TYPE
public static void setSerializableType(int serializableType)
Typespublic static int getSerializableType()
public Object getResult(ResultSet rs, String columnName) throws SQLException
getResult in interface org.apache.ibatis.type.TypeHandlerSerializableTypeHandler.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.