You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/04/24 00:20:03 UTC
[GitHub] [shardingsphere] shengzhai2015 opened a new issue #5296: use sharding-jdbc with oracle occur ORA-17059: Fail to convert to internal representation
shengzhai2015 opened a new issue #5296:
URL: https://github.com/apache/shardingsphere/issues/5296
database :oracle 11g
jdbc driver: ojdbc6.jar
There is an Exception when I try to connect to oracle database with sharding-jdbc. According to the Exceptiontrace, I find the question.
The Class org.apache.shardingsphere.core.execute.metadata.TableMetaDataLoader wil load All Table metadata in the getColumnMetaDataList method. When the method is executed, it will get a table property by jdbc resultset in the 117 row.
Boolean isAutoIncrement = resultSet.getBoolean("IS_AUTOINCREMENT");
Then it will cause ORA-17059: Fail to convert to internal representation Exception .
I try to get the resultset then I know that the resultset will return String Value(Yes Or No) in my case.
Does anyone has the same question?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] kimmking commented on issue #5296: use sharding-jdbc with oracle occur ORA-17059: Fail to convert to internal representation
Posted by GitBox <gi...@apache.org>.
kimmking commented on issue #5296:
URL: https://github.com/apache/shardingsphere/issues/5296#issuecomment-618943875
Please try 4.0.1 or incoming 4.1.0 version, these codes was removed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org