public class TransformResultSet extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
rowToEntity(ResultSet rs,
Class<T> clazz) |
static JsonResultWrap |
toJson(ResultSet rs,
Class entityClass) |
static List<Map<String,Object>> |
toMapList(ResultSet rs) |
static List<String[]> |
toStringsList(ResultSet rs) |
public static JsonResultWrap toJson(ResultSet rs, Class entityClass) throws SQLException
SQLExceptionpublic static List<String[]> toStringsList(ResultSet rs) throws SQLException
SQLExceptionpublic static List<Map<String,Object>> toMapList(ResultSet rs) throws SQLException
SQLExceptionpublic static <T> T rowToEntity(ResultSet rs, Class<T> clazz) throws SQLException, IllegalAccessException, InstantiationException
Copyright © 2024. All rights reserved.