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/03/08 07:36:39 UTC

[GitHub] [incubator-shardingsphere] lookingsky2020 commented on issue #4611: sharding-jdbc-test run error while using oracle database

lookingsky2020 commented on issue #4611: sharding-jdbc-test run error while using oracle database
URL: https://github.com/apache/incubator-shardingsphere/issues/4611#issuecomment-596176084
 
 
   Before going to the step of executing SQL, an error is reported when the data source connection is acquired
   
   https://github.com/apache/incubator-shardingsphere.git
   
   run sharding-integration-test\sharding-jdbc-test\src\test\java\org\apache\shardingsphere\dbtest\engine\dql\GeneralDQLIT.java assertExecuteQuery method
   
   when call DataSourceUtil:createHikariCP method
   
   org.apache.shardingsphere.dbtest.env.datasource.DataSourceUtil.createHikariCP(DataSourceUtil.java:102)
   
   such as  result.setConnectionTestQuery("SELECT 1"); // is not collect for using oracle
   
   
   
   org.apache.shardingsphere.dbtest.env.schema.SchemaEnvironmentManager: dropDatabase
   
   dataSource = DataSourceUtil.createDataSource(each, null);  // input parameter dataSourceName is null , so create dataSource connection error

----------------------------------------------------------------
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


With regards,
Apache Git Services