Hello,

Just a quick question. about Jakarta Commons BeanUtils 1.8.2 (the latest)

I have to slurp a ResultSet into a RowSetDynaClass, but I have to use the JDBC column labels instead of the JDBC column names.

It seems that the instance method

RowSetDynaClass.setUseColumnLabel() is what I want, as its stated purpose is to make a RowSetDynaClass instance use the column labels.

However, this instance method is useless. Indeed, the flag saying whether column labels are used is useful at initalization time only, when a RowsSetDynaClass is initialized from a ResultSet, and not later. It seems that the constructors have to take the "useColumnLabel" flag instead - but they don't.

Either I don't get the API at all or this is a bug. Is it?

I'm off patching the source a bit.

Best regards,

-- David




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to