public class ListUtils
extends java.lang.Object
Constructor and Description |
---|
ListUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
static java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
resultSetToList(java.sql.ResultSet rs)
Convert the ResultSet to a List of Maps, where each Map represents a row with
columnNames and columValues
|
public static java.util.List<java.util.Map<java.lang.String,java.lang.Object>> resultSetToList(java.sql.ResultSet rs) throws java.sql.SQLException
rs
- java.sql.SQLException
public static void main(java.lang.String[] args)