Questions tagged [shardingsphere]

6 questions
1
vote
0 answers

An error occurred after the springboot3.0 upgrade. Procedure:Consider defining a bean of type javax sql DataSource in your configuration

After upgrading from springboot 2.7.9 to 3.0.0, I am unable to start. Below is my complete error message: Exception encountered during context initialization - cancelling refresh attempt:…
0
votes
0 answers

Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required

This error has been reported since the springboot3.0 upgrade. Please help me Error message: 2023/06/16 12:34:04.225 WARN [x-transaction-id: ] [main] org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext :…
0
votes
0 answers

Can't access ServiceLoader from Flink Taskmanager Node

When I try to obtain an instance of a Class through ServiceLoader on a TaskManager node the class cannot be loaded, basically I cannot access the classes declared in META-INF/services via ServiceLoader at Runtime. I am using ShardignSphere to…
Teddy Tsai
  • 414
  • 1
  • 13
0
votes
0 answers

shardingshpere-jdbc Dynamically loading sub database rules

The shardingshpere-jdbc needs to configure the sub database policy in the configuration file. After there are too many tables, the configuration file is very large and inconvenient to maintain. I want to define an annotation myself, configure the…
money fox
  • 1
  • 1
0
votes
0 answers

shardingsphere use Spring Transactional change isolation not work

shardingsphere-jdbc 5.0.0 LOCAL Transaction Spring framework 5.2.12 mysql default Transaction isolation : REPEATABLE-READ spring use : @Transactional(rollbackFor = Exception.class,isolation = Isolation.READ_UNCOMMITTED) I've been debugging spring…
0
votes
1 answer

ShardingSphere-Proxy DistSQL, Invalid data source: Communications link failure

I am trying to connect to the existing tables in mysql databases db0 and db1 by registering them as storage units using distsql on a container running ShardingSphere-Proxy using the following command: REGISTER STORAGE UNIT ds_0 ( …
navule
  • 3,212
  • 2
  • 36
  • 54