mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-09-28 01:24:44 +08:00
batch export
This commit is contained in:
@ -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()) {
|
||||
|
Reference in New Issue
Block a user