[Feature]:add oceanbase oracle mode support #60
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[description]

The Oracle mode of OceanBase is supported close #59
[Test]
Manually package the oceanbase-related code under flyway-communtity-db-support and put it under the dependencies of the project
Project structure
`package com.oceanbase;
import org.flywaydb.core.Flyway;
public class FlywayTest {

public static void main(String[] args) {
Flyway flyway = Flyway.configure().dataSource("jdbc:oceanbase://127.0.0.1:2881/test", "root@oracle", "root").load();
// create flyway_schema_history table
flyway.baseline();
// Delete failed records in the flyway_schema_history table
flyway.repair();
// Perform a data migration
flyway.migrate();
}
}
`
V1_1__create_person_table.sql
create table person(id int not null, name varchar(20) not null);
V2_1__add_person_table.sql
insert into person (id,name) values (1,'xiaozhang');
insert into person (id,name) values (2,'xiaowang');
Test results