make ShardingDataSource compatible with Seata in micro-service distribution transaction
See original GitHub issueIn micro-service distribution transaction, Seata will wrap ShardingDataSource as DataSourceProxy which communication with seata-server through RPC protocol,
and DataSourceProxy will invoke some standard JDBC interface to get metadata from ShardingDataSource, however ShardingDataSource don’t compatible with it. I have investigated in my local environment and found these issues we should resolve
- support get information by logical schema in CachedDataBaseMetaData
- support getParameterMetaData in ShardingPreparedStatement
- add
sharding.transaction.seata.at.enableconfig in sharding-transaction-base-seata-at
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Create Your Distributed Database on Kubernetes with Existing ...
Transform any monolithic database into a distributed database and deploy on Kubernetes using Apache ShardingSphere.
Read more >Pattern: Database per service - Microservice Architecture
Implementing business transactions that span multiple services is not straightforward. Distributed transactions are best avoided because of the CAP theorem.
Read more >Distributed Transaction - Apache ShardingSphere
Distributed transaction have been integrated into ShardingDataSource , you can use TransactionTypeHolder to modify transaction type before creating ...
Read more >Building Book A Show Application using Java 8 & Spring Boot - Morioh
After splitting the library, it is complex to process distributed transactions. There is a large amount of data on a single table and...
Read more >How does Apache ShardingSphere implement distributed ...
ShardingSphere's transaction feature is built on the local transaction of the storage DB, providing three transaction modes: LOCAL , XA and BASE ....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

how about this ?
@cherrylzhao where to config sharding.transaction.seata.at.enable = true ?