java.sql.SQLException: Data Type Mismatch with CachedRowSet.getBytes()
843854Apr 8 2004 — edited Apr 8 2004I 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?