[
https://issues.apache.org/jira/browse/TRAFODION-2991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16398024#comment-16398024
]
ASF GitHub Bot commented on TRAFODION-2991:
-------------------------------------------
GitHub user mashengchen opened a pull request:
https://github.com/apache/trafodion/pull/1475
TRAFODION-2991 jdbct4 not support nchar & nvarchar
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mashengchen/trafodion nchar
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafodion/pull/1475.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1475
----
commit 6324e4038965fa827507ca158bd1545bbf56212c
Author: aven <shengchen.ma@...>
Date: 2018-03-14T02:49:31Z
TRAFODION-2991 jdbct4 not support nchar & nvarchar
----
> JDBC T4 not support nchar nvarchar
> ----------------------------------
>
> Key: TRAFODION-2991
> URL: https://issues.apache.org/jira/browse/TRAFODION-2991
> Project: Apache Trafodion
> Issue Type: Bug
> Components: client-jdbc-t4
> Reporter: mashengchen
> Assignee: mashengchen
> Priority: Major
>
> |insert or upsert a object to nchar column by setObject(int index,Object
> x,int sqlType) throw:
>
> org.trafodion.jdbc.t4.TrafT4Exception: Object Type Not Supported
> at
> org.trafodion.jdbc.t4.TrafT4Messages.createSQLException(TrafT4Messages.java:284)
> at
> org.trafodion.jdbc.t4.TrafT4PreparedStatement.setObject(TrafT4PreparedStatement.java:1372)
> at
> org.trafodion.jdbc.t4.TrafT4PreparedStatement.setObject(TrafT4PreparedStatement.java:1214)
> at
> TestInsertNcharBySetObjectWithSQLType.main(TestInsertNcharBySetObjectWithSQLType.java:36)|
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)