Class BambooSchemaHelper

java.lang.Object
com.atlassian.bamboo.hibernate.BambooSchemaHelper

public class BambooSchemaHelper extends Object
  • Constructor Details

    • BambooSchemaHelper

      public BambooSchemaHelper()
  • Method Details

    • updateSchemaIfNeeded

      public void updateSchemaIfNeeded(boolean showDDL) throws com.atlassian.config.ConfigurationException
      Throws:
      com.atlassian.config.ConfigurationException
    • handleExceptions

      public static void handleExceptions(org.hibernate.tool.hbm2ddl.SchemaUpdate schemaUpdate) throws Exception
      Throws:
      Exception
    • dropTables

      public void dropTables(boolean showDDL) throws com.atlassian.config.ConfigurationException
      Throws:
      com.atlassian.config.ConfigurationException
    • createTables

      public void createTables(boolean showDDL) throws com.atlassian.config.ConfigurationException
      Throws:
      com.atlassian.config.ConfigurationException
    • applySchemaFixups

      public void applySchemaFixups()
    • getTargetTypes

      public static EnumSet<org.hibernate.tool.schema.TargetType> getTargetTypes(boolean script, boolean export)
      Parameters:
      script - see TargetType.STDOUT
      export - see TargetType.DATABASE
      Returns: