public void doCreation(Metadata metadata, boolean createSchemas, Dialect dialect, Target... targets) throws SchemaManagementException {
boolean tryToCreateCatalogs = false;
boolean tryToCreateSchemas = false;
if ( createSchemas ) {
if ( dialectSupportsCatalogs() ) {
if ( dialect.canCreateCatalogs() ) {
tryToCreateCatalogs = true;
}
}
if ( dialectSupportsSchemas() ) {
if ( dialect.canCreateSchames() ) {
tryToCreateSchemas = true;
}
}
}
...
}