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!

how to retrieve a char data from resultset

843859May 28 2008 — edited Nov 20 2014
Hi,

I am trying to retreive a char data from resultset but there is not method like rs.getChar(). I tried by defining a string variable and using rs.getString method and then using charAt method on String var but its not happening.

anyone can pls help me.

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 2 2008
Added on May 28 2008
3 comments
391 views