RowSetDynaClass.setUseColumnLabel() property setter is useless: the "use column 
label" flag must be known at construction time
------------------------------------------------------------------------------------------------------------------------------

                 Key: BEANUTILS-371
                 URL: https://issues.apache.org/jira/browse/BEANUTILS-371
             Project: Commons BeanUtils
          Issue Type: Bug
          Components: DynaBean
    Affects Versions: 1.8.2
         Environment: Any
            Reporter: David Tonhofer


If one wants to slurp a "ResultSet" into a "RowSetDynaClass", one may want to 
use JDBC column labels instead of the JDBC column names.

The constructor of RowSetDynaClass takes the ResultSet, and slurps it in one 
operation, using the JDBC column names by default.

This operation is controlled by a boolean "useColumnLabel" telling whether to 
use column names of column labels. A setter,

  RowSetDynaClass.setUseColumnLabel()

allows one to set that boolean.

However, as the boolean is used at construction time only, the setter is 
useless. Instead, the "useColumnLabel" flag should be passed to the constructor!


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to