batch export

This commit is contained in:
SwallowGG
2024-06-25 20:53:33 +08:00
parent 5d80e3837a
commit 737c1fb284
10 changed files with 58 additions and 30 deletions

View File

@ -48,7 +48,7 @@ public class OracleDBManage extends DefaultDBManage implements DBManage {
}
private void exportTable(Connection connection, String databaseName, String schemaName, String tableName, AsyncContext asyncContext) throws SQLException {
public void exportTable(Connection connection, String databaseName, String schemaName, String tableName, AsyncContext asyncContext) throws SQLException {
String sql = String.format(TABLE_DDL_SQL, schemaName, tableName);
try (ResultSet resultSet = connection.createStatement().executeQuery(sql)) {
if (resultSet.next()) {