|
[
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)
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; } } 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.
Closing this issue as it was patched
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||