public class ClobValueAdaptor extends Object
| Constructor and Description |
|---|
ClobValueAdaptor(FilePool pool) |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(ResultSet rs,
String colName)
从结果集里获取一个字段的值
|
void |
set(PreparedStatement stat,
Object obj,
int i)
为缓冲语句设置值
|
public ClobValueAdaptor(FilePool pool)
public Object get(ResultSet rs, String colName) throws SQLException
ValueAdaptorrs - 结果集colName - 列名SQLExceptionpublic void set(PreparedStatement stat, Object obj, int i) throws SQLException
ValueAdaptor一个值可以被设置到多个占位符中
stat - 缓冲语句obj - 值i - 占位符位置,从 1 开始SQLExceptionCopyright © 2017. All rights reserved.