totalo opened a new issue #10504:
URL: https://github.com/apache/shardingsphere/issues/10504
### sharding-raw-jdbc-example
- `REPLICA_QUERY` need change to `READWRITE_SPLITTING`
- `SHARDING_REPLICA_QUERY` need change to `SHARDING_READWRITE_SPLITTING`
- the shardingType of SHARDING_READWRITE_SPLITTING test fail and others type
pass
here is the error log :
`Exception in thread "main" java.lang.NullPointerException
at
org.apache.shardingsphere.driver.jdbc.adapter.executor.ForceExecuteTemplate.execute(ForceExecuteTemplate.java:42)
at
org.apache.shardingsphere.driver.jdbc.adapter.AbstractResultSetAdapter.close(AbstractResultSetAdapter.java:82)
at
org.apache.shardingsphere.example.core.jdbc.repository.OrderRepositoryImpl.getOrders(OrderRepositoryImpl.java:114)
at
org.apache.shardingsphere.example.core.jdbc.repository.OrderRepositoryImpl.selectAll(OrderRepositoryImpl.java:98)
at
org.apache.shardingsphere.example.core.jdbc.service.OrderServiceImpl.printData(OrderServiceImpl.java:148)
at
org.apache.shardingsphere.example.core.jdbc.service.OrderServiceImpl.processSuccess(OrderServiceImpl.java:95)
at
org.apache.shardingsphere.example.core.api.ExampleExecuteTemplate.run(ExampleExecuteTemplate.java:29)
at
org.apache.shardingsphere.example.sharding.raw.jdbc.YamlRangeConfigurationExampleMain.main(YamlRangeConfigurationExampleMain.java:43)`
--
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:
[email protected]