yuanoOo commented on code in PR #5264:
URL: https://github.com/apache/gravitino/pull/5264#discussion_r1819980424
##########
docs/jdbc-oceanbase-catalog.md:
##########
@@ -38,17 +38,18 @@ Check the relevant data source configuration in [data
source properties](https:/
If you use a JDBC catalog, you must provide `jdbc-url`, `jdbc-driver`,
`jdbc-user` and `jdbc-password` to catalog properties.
Besides the [common catalog
properties](./gravitino-server-config.md#gravitino-catalog-properties-configuration),
the OceanBase catalog has the following properties:
-| Configuration item | Description
| Default value | Required |
Since Version |
-|----------------------|--------------------------------------------------------------------------------------------------------|---------------|----------|---------------|
-| `jdbc-url` | JDBC URL for connecting to the database. For example,
`jdbc:mysql://localhost:2881` | (none) | Yes |
0.3.0 |
-| `jdbc-driver` | The driver of the JDBC connection. For example,
`com.mysql.jdbc.Driver` or `com.mysql.cj.jdbc.Driver`. | (none) | Yes
| 0.3.0 |
-| `jdbc-user` | The JDBC user name.
| (none) | Yes |
0.3.0 |
-| `jdbc-password` | The JDBC password.
| (none) | Yes |
0.3.0 |
-| `jdbc.pool.min-size` | The minimum number of connections in the pool. `2` by
default. | `2` | No |
0.3.0 |
-| `jdbc.pool.max-size` | The maximum number of connections in the pool. `10`
by default. | `10` | No |
0.3.0 |
+| Configuration item | Description
| Default value | Required | Since Version |
+|----------------------|---------------------------------------------------------------------------------------------------------------------------------------|---------------|----------|------------------|
+| `jdbc-url` | JDBC URL for connecting to the database. For example,
`jdbc:mysql://localhost:2881`
| (none) | Yes | 0.7.0-incubating |
+| `jdbc-driver` | The driver of the JDBC connection. For example,
`com.mysql.jdbc.Driver` or `com.mysql.cj.jdbc.Driver` or
`com.oceanbase.jdbc.Driver`. | (none) | Yes | 0.7.0-incubating |
Review Comment:
Yes, I confirm. `com.oceanbase.jdbc.Driver` is based on MySQL protocol.
Compared with `com.mysql.jdbc.Driver`, it supports both MySQL and Oracle syntax
of OceanBase.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]