commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Updated: (BEANUTILS-289) JDBCDynaClass "lowerCase" option causes problems in RowSetDynaClass
Date Fri, 13 Jul 2007 14:51:04 GMT

     [ https://issues.apache.org/jira/browse/BEANUTILS-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Niall Pemberton updated BEANUTILS-289:
--------------------------------------

    Attachment: beanutils-289.patch

> JDBCDynaClass "lowerCase" option causes problems in RowSetDynaClass
> -------------------------------------------------------------------
>
>                 Key: BEANUTILS-289
>                 URL: https://issues.apache.org/jira/browse/BEANUTILS-289
>             Project: Commons BeanUtils
>          Issue Type: Bug
>          Components: DynaBean
>    Affects Versions: 1.7.0
>            Reporter: Niall Pemberton
>             Fix For: 1.8.0
>
>         Attachments: beanutils-289.patch
>
>
> JDBCDynaClass / RowSetDynaClass has an option to convert the column names to lower case
when creating the associated DynaProperty - this causea a problem in RowSetDynaClass's rows()
method which uses the DynaProperty name to access the column value in the ResultSet. I can
only think no-one is really using this since its been this way since created (over 4 years
ago) - otherwise everyone is using lower case column names in the database anyway!
> The proxy TestResultSet and TestResultSetMetaData implementations used by DynaRowSetTestCase
are hacked by using normal case in the meta data - but lower case in the result set.
> Since the DynaProperties are created in column index order - I suggest changing rows()
to use the column index, rather than DynaProperty name.

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


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


Mime
View raw message