OceanBase Connector/J is compatible with only specific OceanBase Database and Java versions.
OceanBase and MySQL official JDBC compatibility
OceanBase Database supports connection through the MySQL official JDBC driver. In MySQL mode, we recommend using the native MySQL Connector/J driver.
| MySQL Connector/J version | Recommended version |
|---|---|
| 5.x | 5.1.40 ~ 5.1.49 |
| 8.x | 8.0.7 ~ 8.0.25, 8.2.0 ~ 8.4.0 |
Compatibility with OceanBase Database
The following table describes the compatibility between OceanBase Connector/J and OceanBase Database.
| OceanBase Connector/J version | Compatible OceanBase Database version |
|---|---|
| V2.4.11 |
|
Compatibility with Java
The following table describes the compatibility between OceanBase Connector/J and Java.
| OceanBase Connector/J version | Compatible Java version |
|---|---|
| V2.4.11 | Java 8 and later |