public class GenerousBeanProcessor extends BeanProcessor
PROPERTY_NOT_FOUND| Constructor and Description |
|---|
GenerousBeanProcessor()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
mapColumnsToProperties(ResultSetMetaData rsmd,
PropertyDescriptor[] props)
The positions in the returned array represent column numbers.
|
getWriteMethod, newInstance, populateBean, processColumn, toBean, toBeanListprotected int[] mapColumnsToProperties(ResultSetMetaData rsmd, PropertyDescriptor[] props) throws SQLException
BeanProcessorPropertyDescriptor[] for the bean property that matches
the column name. If no bean property was found for a column, the
position is set to PROPERTY_NOT_FOUND.mapColumnsToProperties in class BeanProcessorrsmd - The ResultSetMetaData containing column
information.props - The bean property descriptors.SQLException - if a database access error occursCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.