public class DatabaseUtils extends Object
| Constructor and Description |
|---|
DatabaseUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
initializeDatabase(String defaultCatalogName,
String defaultSchemaName,
Database database)
Executes RawSqlStatements particular to each database engine to set the default schema for the given Database
|
public static void initializeDatabase(String defaultCatalogName, String defaultSchemaName, Database database) throws DatabaseException
defaultCatalogName - Catalog name and schema name are similar concepts.
Used if defaultCatalogName is null.defaultSchemaName - Catalog name and schema name are similar concepts.
Catalog is used with Oracle, DB2 and MySQL, and takes
precedence over the schema name.database - Which Database object is affected by the initialization.DatabaseExceptionCopyright © 2023 Liquibase.org. All rights reserved.