-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ShardingSphere Jdbc transaction 支持问题 #30300
Comments
|
Is the default transaction rule of ShardingSphere JDBC local? |
Are there any demo projects related to ShardingSphere JDBC transactions? |
transaction:
defaultType: LOCAL
|
Okay, thanks. the following is considered the default value
Why is transaction consistency guaranteed for multiple database operations? How to simulate that local operations on multiple data sources do not meet distributed transaction consistency? |
|
Use mybatis, not jpa
springboot start Run project prompt error:java.lang.AbstractMethodError: com.atomikos.icatch.jta.JtaTransactionServicePlugin.beforeInit()V
|
|
Okay, thanks. It's a dependency conflict,from shardingsphere-transaction-xa-core
It became normal after being eliminated. |
|
Hi @ListenQ, can you translate this issue to English? |
Yes, it's true that there's no need to do anything else, it's my project engineering, shardingsphere-transaction-xa-core is conflicting with the atomikos version in springboot. Configure the solution in pom.xml like this:
|
Okay, which question is it? |
@ListenQ @linghengqian Through program test, I also find that shardingsphere-jdbc-core5.4.1 supports distributed transaction default. I do not config any XA or Base transaction. |
|
@linghengqian I'm sure that it‘s not LOCAL transaction,because two datasources have different ip and port. By the way My program uses JPA.I feel very strange about this just like @ListenQ said. |
|
|
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. |
|
Question
上面 testSave(), 保存t_order失败会 让t_user 回滚
ShardingSphere Jdbc 是否默认支持 分布式事务处理?
The text was updated successfully, but these errors were encountered: