Skip to content

Commit

Permalink
feat: 增加 MySQL Connector/J 5.1 XADataSource 的支持 (#627)
Browse files Browse the repository at this point in the history
  • Loading branch information
1s1y committed Mar 22, 2024
1 parent c1f1217 commit f97f8ba
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
*/
@Getter
public enum XADataSourceEnum {
/**
* <a href="https://dev.mysql.com/doc/connector-j/en/connector-j-api-changes.html">MySQL Connector/J 5.1 使用老的 MysqlXADataSource</a>
*/
MYSQL_CONNECTOR_J_5("com.mysql.jdbc.jdbc2.optional.MysqlXADataSource"),
/**
* mysql
*/
Expand Down Expand Up @@ -69,4 +73,4 @@ public static boolean contains(String xaDataSourceClassName) {
}
return false;
}
}
}

0 comments on commit f97f8ba

Please sign in to comment.