This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I am creating an updatable resultset and then going thru it to read the values in each row. When I use getObject() to get the column values for each row, I get nulls. However, when I use getString(), I get the correct values. Also, if I create a regular statement, not using the updatable result set feature, the getObject() call works fine.
Why would this be happening? (code below)
Thanks Shailan
[edited to add code tags] [ December 07, 2004: Message edited by: Jeanne Boyarsky ]
Im using Oracle8i Enterprise Edition Release 8.1.6.0.0
The query does a select * from a table with the following field types. (all Nullable)
Type ------------ VARCHAR2(3) VARCHAR2(5) VARCHAR2(3) VARCHAR2(6) VARCHAR2(1) VARCHAR2(6) DATE VARCHAR2(1) VARCHAR2(2) DATE DATE VARCHAR2(8) VARCHAR2(20)