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, toBeanList
public GenerousBeanProcessor()
protected int[] mapColumnsToProperties(ResultSetMetaData rsmd, PropertyDescriptor[] props) throws SQLException
BeanProcessor
PropertyDescriptor[]
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 BeanProcessor
rsmd
- The ResultSetMetaData
containing column
information.props
- The bean property descriptors.SQLException
- if a database access error occursCopyright © 2002–2023 The Apache Software Foundation. All rights reserved.