E - The class this parser will populate with values from a rowpublic class PojoRowParser<E> extends java.lang.Object implements RowParser<E>
public class MyPojo {
String name;
Integer age;
}
Would work on a result like that:
| name | age |
--------------
| John | 23 | ==> MyPojo with name John and age 23
| Dave | 22 | ==> MyPojo with name Dave and age 22
Note:
- The parser does NOT take into account any inheritance of fields.
- The parser does NOT follow any bean specification. It simply uses the fields
you declare.| Modifier and Type | Method and Description |
|---|---|
E |
parse(java.sql.ResultSet resultSet) |
Copyright © 2018. All Rights Reserved.