AW: java.sql.ResultSet.getObject() Kawa(?) bug, (as <int> 1)
Hoehle, Joerg-Cyril
Joerg-Cyril.Hoehle@t-systems.com
Thu Aug 15 03:21:00 GMT 2002
Per Bothner wrote:
>Kawa should be able to figure out that getObject(int) is a closer
>match than getObject(String). I'm not sure what it doesn't.
>Could you try the latest CVS Kawa to see if the bug is still there?
Here are the results from using your kawa-1.6.99.1.jar (1359087 bytes) from beginning of August.
Entering (invoke rs 'getXYZ 1) at prompt
ok: getByte getShort getInt getString getBoolean getBytes getDate getTime
bad: getObject getLong getBigDecimal getDouble getFloat getTimestamp
bad means: java.sql.SQLException: Column not found
(i.e. findColumn in backtrace), not the old "Argument <2spaces>to
'...getInt' has wrong type", which seems gone now.
So what did you change? :-) How comes that the fix is partial?
Regards,
Jorg Hohle.
More information about the Kawa
mailing list