java - PreparedStatement.executeQuery fetches wrong value for some columns -


when execute query using preparedstatement.executequery() java application resultset object wrong values of fields. when use plsql developer value looks ok.

the field value 10101010 in resultset it's 1$ffssff. database field size 8 bytes result value 9 bytes (and totally wrong). type field varchar2(8 byte)

this happens sometimes. other times when execute same query correct value.

how possible resultset fetches wrong value of fields ? there settings need verify this? nls_rdbms_version 11.2.0.3.0.

do think it's java side problem or oracle side data fetching problem?

please let me know if need additional details.


Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

android - Pass an Serializable object in AIDL -