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!

rs.getDate() on varchar database field is giving null value error at runtim

843854May 12 2004 — edited May 13 2004
Hi,
I am using orace database. and jdk 1.3.1

Actually iam calling resultset --- rs.getDate() on varchar database field and is giving null value error at runtime.
and the specification of jdbc3.0 tells that it is allowed to use rs.getDate() on a varchar, char datatype fields in the database.

and the varchar column in the database has the date value in "yyyyMMdd" format.

Could any one help why it is coming like and give me the proper solution.

Thanks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 10 2004
Added on May 12 2004
9 comments
196 views