You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "mashengchen (JIRA)" <ji...@apache.org> on 2018/04/04 02:10:00 UTC
[jira] [Created] (TRAFODION-3019) Use preparedStatement.setBytes to
set a string to char() is wrong
mashengchen created TRAFODION-3019:
--------------------------------------
Summary: Use preparedStatement.setBytes to set a string to char() is wrong
Key: TRAFODION-3019
URL: https://issues.apache.org/jira/browse/TRAFODION-3019
Project: Apache Trafodion
Issue Type: Bug
Components: client-jdbc-t2, client-jdbc-t4
Reporter: mashengchen
Assignee: mashengchen
preparedStatement.setBytes(testsetBytes.getBytes()) set string to char(30) column expected: [testsetBytes] but was: [testsetBytesCharMinTable0]
when set a blank string, expected:[] but was:[0p��CharMinTable0]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)