public class BlobInputStreamTypeHandler extends AbstractTypeHandler<InputStream>
| 构造器和说明 |
|---|
BlobInputStreamTypeHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
InputStream |
getNullableResult(CallableStatement cs,
int columnIndex)
Get an
InputStream that corresponds to a specified column index from CallableStatement. |
InputStream |
getNullableResult(ResultSet rs,
int columnIndex)
Get an
InputStream that corresponds to a specified column index from ResultSet. |
InputStream |
getNullableResult(ResultSet rs,
String columnName)
Get an
InputStream that corresponds to a specified column name from ResultSet. |
void |
setNonNullParameter(PreparedStatement ps,
int i,
InputStream parameter,
JDBCType jdbcType)
Set an
InputStream into PreparedStatement. |
getResult, getResult, getResult, setParametergetRawType, toStringpublic void setNonNullParameter(PreparedStatement ps, int i, InputStream parameter, JDBCType jdbcType) throws SQLException
InputStream into PreparedStatement.public InputStream getNullableResult(ResultSet rs, String columnName) throws SQLException
InputStream that corresponds to a specified column name from ResultSet.getNullableResult 在类中 AbstractTypeHandler<InputStream>columnName - Colunm name, when configuration useColumnLabel is falseSQLExceptionResultSet.getBlob(String)public InputStream getNullableResult(ResultSet rs, int columnIndex) throws SQLException
InputStream that corresponds to a specified column index from ResultSet.getNullableResult 在类中 AbstractTypeHandler<InputStream>SQLExceptionResultSet.getBlob(int)public InputStream getNullableResult(CallableStatement cs, int columnIndex) throws SQLException
InputStream that corresponds to a specified column index from CallableStatement.getNullableResult 在类中 AbstractTypeHandler<InputStream>SQLExceptionCallableStatement.getBlob(int)Copyright © 2020–2021. All rights reserved.