Skip to content
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

xa 不支持 org.mariadb.jdbc:mariadb-java-client:3.x.x 版本 #5454

Open
MrLiuFang opened this issue Mar 19, 2023 · 1 comment
Open

xa 不支持 org.mariadb.jdbc:mariadb-java-client:3.x.x 版本 #5454

MrLiuFang opened this issue Mar 19, 2023 · 1 comment
Labels
good first issue Good for newcomers task: help-wanted Extra attention is needed

Comments

@MrLiuFang
Copy link

Ⅰ. Issue Description

xa 模式 在org.mariadb.jdbc:mariadb-java-client:3.x.x 依赖下找不到 org/mariadb/jdbc/MariaXaConnection
经过下载 mariadb-java-client:2.7.x 和 mariadb-java-client:3.x.x 版本比较
org/mariadb/jdbc/MariaXaConnection 仅存在于mariadb-java-client:2.7.x , 在 mariadb-java-client:3.x.x 找不到

Ⅱ. Describe what happened

希望在XA模式下提供 org.mariadb.jdbc:mariadb-java-client:3.x.x 版本支持

Caused by: java.lang.NoClassDefFoundError: org/mariadb/jdbc/MariaXaConnection
	at io.seata.rm.datasource.util.XAUtils.createXAConnection(XAUtils.java:66)
	at io.seata.rm.datasource.util.XAUtils.createXAConnection(XAUtils.java:43)
	at io.seata.rm.datasource.xa.DataSourceProxyXA.getConnectionProxyXA(DataSourceProxyXA.java:112)
	at io.seata.rm.datasource.xa.DataSourceProxyXA.getConnectionProxy(DataSourceProxyXA.java:101)
	at io.seata.rm.datasource.xa.DataSourceProxyXA.getConnection(DataSourceProxyXA.java:88)

截图 2023-03-19 14-01-40

@wt-better
Copy link
Contributor

wt-better commented Mar 20, 2023

Additional,3.x XAConnection impl MariaXaConnection was move to MariaDbPoolConnection,link
PR

@funky-eyes funky-eyes added the task: help-wanted Extra attention is needed label Mar 29, 2023
@funky-eyes funky-eyes added the good first issue Good for newcomers label May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers task: help-wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants