Dear Experts,
This statement is returning zero to temp, when the db underlying value "myField" is null:
Integer temp = rs.getInt("myField");
The same statement used to return null into temp.
My first guess is that when I went to Java 1.5 to get autoboxing, it had this unintended consequence. Is that right? If so, how do I fix it? (If not, how do I fix it anyway?)
I'm under major pressure here, so any help would be greatly appreciated.
Thanks!
BrianMc1958
Start Free Trial