public class BambooSchemaHelper extends Object
Constructor and Description |
---|
BambooSchemaHelper() |
Modifier and Type | Method and Description |
---|---|
void |
applySchemaFixups() |
void |
createTables(boolean showDDL) |
void |
dropTables(boolean showDDL) |
static EnumSet<org.hibernate.tool.schema.TargetType> |
getTargetTypes(boolean script,
boolean export) |
static void |
handleExceptions(org.hibernate.tool.hbm2ddl.SchemaUpdate schemaUpdate) |
void |
updateSchemaIfNeeded(boolean showDDL) |
public void updateSchemaIfNeeded(boolean showDDL) throws com.atlassian.config.ConfigurationException
com.atlassian.config.ConfigurationException
public static void handleExceptions(org.hibernate.tool.hbm2ddl.SchemaUpdate schemaUpdate) throws Exception
Exception
public void dropTables(boolean showDDL) throws com.atlassian.config.ConfigurationException
com.atlassian.config.ConfigurationException
public void createTables(boolean showDDL) throws com.atlassian.config.ConfigurationException
com.atlassian.config.ConfigurationException
public void applySchemaFixups()
public static EnumSet<org.hibernate.tool.schema.TargetType> getTargetTypes(boolean script, boolean export)
script
- see TargetType.STDOUT
export
- see TargetType.DATABASE
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.