public class DumpUtils extends Object
| Constructor and Description |
|---|
DumpUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
dump(Connection c,
File directory)
Create a database dump.
|
static void |
dump(Connection c,
File directory,
String dbName)
Create a database dump.
|
public static void dump(Connection c, File directory) throws IOException, SQLException
c - database connectiondirectory - target directoryIOException - if files can't be writtenSQLException - if communication with the database failedpublic static void dump(Connection c, File directory, String dbName) throws IOException, SQLException
c - database connectiondbName - database name used in the generated filesdirectory - target directoryIOException - if files can't be writtenSQLException - if communication with the database failedCopyright © 2019 OpenEstate. All rights reserved.