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!

java.sql.SQLException: Data Type Mismatch with CachedRowSet.getBytes()

843854Apr 8 2004 — edited Apr 8 2004
I used something like this:

byte[] dbPassword = cachedRowSet.getBytes("password");

my column has type:

password varchar(20) BINARY �no NULL

When I read this column with getString(), I got correct result as String.

Do I have mistake in column type or it's bug in CachedRowSet?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 6 2004
Added on Apr 8 2004
12 comments
1,040 views