public class ClobReaderTypeHandler extends BaseTypeHandler<Reader>
configuration| Constructor and Description |
|---|
ClobReaderTypeHandler() |
| Modifier and Type | Method and Description |
|---|---|
Reader |
getNullableResult(CallableStatement cs,
int columnIndex)
Get a
Reader that corresponds to a specified column index from CallableStatement. |
Reader |
getNullableResult(ResultSet rs,
int columnIndex)
|
Reader |
getNullableResult(ResultSet rs,
String columnName)
|
void |
setNonNullParameter(PreparedStatement ps,
int i,
Reader parameter,
JdbcType jdbcType)
Set a
Reader into PreparedStatement. |
getResult, getResult, getResult, setConfiguration, setParametergetRawType, toStringpublic void setNonNullParameter(PreparedStatement ps, int i, Reader parameter, JdbcType jdbcType) throws SQLException
Reader into PreparedStatement.setNonNullParameter in class BaseTypeHandler<Reader>SQLExceptionPreparedStatement.setClob(int, Reader)public Reader getNullableResult(ResultSet rs, String columnName) throws SQLException
getNullableResult in class BaseTypeHandler<Reader>rs - the rscolumnName - Colunm name, when configuration useColumnLabel is falseSQLException - the SQL exceptionResultSet.getClob(String)public Reader getNullableResult(ResultSet rs, int columnIndex) throws SQLException
getNullableResult in class BaseTypeHandler<Reader>SQLExceptionResultSet.getClob(int)public Reader getNullableResult(CallableStatement cs, int columnIndex) throws SQLException
Reader that corresponds to a specified column index from CallableStatement.getNullableResult in class BaseTypeHandler<Reader>SQLExceptionCallableStatement.getClob(int)Copyright © 2009–2021 MyBatis.org. All rights reserved.