Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

getDate for ResultSet

5585Jul 31 2002
I there,
I am usign a PreparredStatement to read dates (with other fields) from an Oracle DB. Some of the records can have NULL values in the date fields. Reading such values from the ResultSet with the getDate method sometimes it happens that for a record with a date field set to NULL in the DB the following date is read 10102-11-29.
I have introduced a work aroung in the code to track such strange dates but have anyone an idea about such an error.
Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 28 2002
Added on Jul 31 2002
1 comment
206 views