Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.8.3
-
None
-
None
-
gentoo linux 64 bit
Description
Hello.
If i have the following query:
'select game.name as game_name from games'
and i use RowSetDynaClass to fetch a list of DynaBeans from the result set, i get the following error:
ERROR c.x.xpofacebook.mysql.MysqlDb - stack trace: java.sql.SQLException: Column 'name' not found.
it seems that the RowSetDynaClass fetches the column names as their original names and does not consider column names modification with the 'as' keyword.
Attachments
Issue Links
- relates to
-
BEANUTILS-344 Method createDynaProperty of JDBCDynaClass should first look for column label instead of column name in ResultSetMetadata object..
- Closed
-
BEANUTILS-371 RowSetDynaClass.setUseColumnLabel() property setter is useless: the "use column label" flag must be known at construction time
- Closed