feat: 增加 MySQL Connector/J 5.1 XADataSource 的支持 (#627)

This commit is contained in:
1s1y 2024-03-22 09:23:50 +08:00 committed by GitHub
parent c1f12172e2
commit f97f8ba574
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,6 +24,10 @@ import lombok.Getter;
*/
@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
*/
@ -69,4 +73,4 @@ public enum XADataSourceEnum {
}
return false;
}
}
}