Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

db2jcc4 getBytes Method Throw Exception

91 views
Skip to first unread message

varmazy...@gmail.com

unread,
Mar 15, 2016, 6:51:40 AM3/15/16
to
Hi,

i recently update my db2 jdbc driver to version 4 (db2jcc4), my column type is VARCHAR and it fill with cp1256(Windows-1256) strings...
before than update db2jcc to version 4 , it work correctlly (resultset.getBytes("myColumnName"))...

after update db2jcc to version 4, resultset.getBytes("myColumnName") throw SQLSyntaxErrorException Invalid Data Conversion Wrong result Column Type For Requested Conversion, Error Code -4461, SQLSTATE 42815

please help me...
Thanks...

Larry

unread,
Mar 15, 2016, 9:08:06 PM3/15/16
to
0 new messages