|
Daniel John Debrunner made changes - 19/Apr/05 12:06 PM
[
Permlink
| « Hide
]
Daniel John Debrunner added a comment - 19/Apr/05 12:10 PM
Also present in 10.0.2.1 for getXXX only (since updateXXX not supported)
Daniel John Debrunner made changes - 19/Apr/05 12:10 PM
The getter [updater] methods with column names (in EmbedResultSet.java) use the protected method findColumnName(String columnName) to determine the column index for the passed column name. And the loop for the lookup starts from the end towards the beginning of the ResultDescription and that seems to be the problem behind the current behavior.
ResultDescription rd = resultDescription; // 1 or 0 based? assume 1 (probably wrong) for (int i=rd.getColumnCount(); i>=1; i--) { String name = rd.getColumnDescriptor(i).getName(); if (StringUtil.SQLEqualsIgnoreCase(columnName, name)) { return i; } }
Shreyas Kaushik made changes - 02/May/05 12:36 PM
I believe I checked in fix for Shreyas for this bug. Shreyas, can you resolve and close this bug?
Patched has been submitted which was committed.
Shreyas Kaushik made changes - 03/Jun/05 02:56 PM
Closing this issue as it was patched
Shreyas Kaushik made changes - 03/Jun/05 02:57 PM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||