public interface ResultSetExtractor<T>
限定符和类型 | 方法和说明 |
---|---|
T |
extractData(java.sql.ResultSet rs)
接口实现中必须处理整个数据集
|
T extractData(java.sql.ResultSet rs) throws java.sql.SQLException, AWSDataAccessException
rs
- ResultSet 数据集,不用关闭null
if none
(the extractor will typically be stateful in the latter case).java.sql.SQLException
- if a SQLException is encountered getting column
values or navigating (that is, there's no need to catch SQLException)AWSDataAccessException
- in case of custom exceptionsCopyright © Actionsoft Co., Ltd. All Rights Reserved.