public class ResultSetUtil extends Object
| 构造器和说明 |
|---|
ResultSetUtil() |
public Object getResult(ResultSet rs) throws SQLException
SQLExceptionpublic static <T> T onlyOneResult(ResultSet rs, Class<T> target) throws SQLException
rs - SQLExceptionpublic static <T> List<T> onlyOneListResult(ResultSet rs, Class<T> target) throws SQLException
T - rs - target - SQLExceptionCopyright © 2022. All rights reserved.