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, setParameter
getRawType, toString
public void setNonNullParameter(PreparedStatement ps, int i, Reader parameter, JdbcType jdbcType) throws SQLException
Reader
into PreparedStatement
.setNonNullParameter
in class BaseTypeHandler<Reader>
SQLException
PreparedStatement.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 false
SQLException
- the SQL exceptionResultSet.getClob(String)
public Reader getNullableResult(ResultSet rs, int columnIndex) throws SQLException
getNullableResult
in class BaseTypeHandler<Reader>
SQLException
ResultSet.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>
SQLException
CallableStatement.getClob(int)
Copyright © 2009–2021 MyBatis.org. All rights reserved.