public class SQLClobTypeHandler extends BaseTypeHandler<Object>
Modifier and Type | Field and Description |
---|---|
private static Logger |
__logger |
configuration
Constructor and Description |
---|
SQLClobTypeHandler() |
Modifier and Type | Method and Description |
---|---|
protected String |
_transformClobToString(Clob clob)
Transform CLOB value to String value.
|
Object |
getNullableResult(CallableStatement cs,
int columnIndex) |
Object |
getNullableResult(ResultSet rs,
int columnIndex) |
Object |
getNullableResult(ResultSet rs,
String columnName) |
void |
setNonNullParameter(PreparedStatement ps,
int i,
Object parameter,
JdbcType jdbcType) |
getResult, getResult, getResult, setConfiguration, setParameter
getRawType, toString
public SQLClobTypeHandler()
public void setNonNullParameter(PreparedStatement ps, int i, Object parameter, JdbcType jdbcType) throws SQLException
setNonNullParameter
in class BaseTypeHandler<Object>
SQLException
public Object getNullableResult(ResultSet rs, String columnName) throws SQLException
getNullableResult
in class BaseTypeHandler<Object>
SQLException
public Object getNullableResult(ResultSet rs, int columnIndex) throws SQLException
getNullableResult
in class BaseTypeHandler<Object>
SQLException
public Object getNullableResult(CallableStatement cs, int columnIndex) throws SQLException
getNullableResult
in class BaseTypeHandler<Object>
SQLException
protected String _transformClobToString(Clob clob) throws SQLException
clob
- the clobSQLException
- if an error occurred