public interface ValueAdaptor
Object get(ResultSet rs, String colName) throws SQLException
rs
- 结果集colName
- 列名SQLException
void set(PreparedStatement stat, Object obj, int index) throws SQLException
一个值可以被设置到多个占位符中
stat
- 缓冲语句obj
- 值index
- 占位符位置,从 1 开始SQLException
Copyright © 2017. All rights reserved.