test_class.file: loader/src/test/java/com/chiralbehaviors/CoRE/loader/LoaderTest.java
test_class.identifier: LoaderTest
test_case.body: @Test
      public void testLoader() throws Exception {
          ObjectMapper mapper = new ObjectMapper(new YAMLFactory());
          DbaConfiguration config = mapper.readValue(getClass().getResourceAsStream("/loader.yml"),
                                                     DbaConfiguration.class);
          try (Connection dbaConnection = config.getDbaConnection()) {
              dbaConnection.setAutoCommit(true);
              dbaConnection.prepareStatement("DROP DATABASE IF EXISTS testme")
                           .execute();
              dbaConnection.prepareStatement("DROP ROLE IF EXISTS scott")
                           .execute();
          }
          config.dropDatabase = true;
          Loader loader = new Loader(config);
          try {
              loader.execute();
              loader.execute();
              loader.clear();
              loader.rollback();
          } finally {
              loader.dropDatabase();
          }
      }
test_case.class_method_signature: LoaderTest.testLoader()
test_case.full_signature: @Test public void testLoader()
test_case.identifier: testLoader
test_case.invocations: readValue getResourceAsStream getClass getDbaConnection setAutoCommit execute prepareStatement execute prepareStatement execute execute clear rollback dropDatabase
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testLoader()
focal_class.declarator: INITIAL_DATABASE_CREATE_TEMPLATE               = "initial-database-create-%s"
focal_class.modifier: public static final
focal_class.original_string: public static final String     INITIAL_DATABASE_CREATE_TEMPLATE               = "initial-database-create-%s";
focal_class.type: String
focal_class.var_name: INITIAL_DATABASE_CREATE_TEMPLATE
focal_class.declarator: MODEL_COM_CHIRALBEHAVIORS_CORE_SCHEMA_CORE_XML = "com/chiralbehaviors/CoRE/schema/core.xml"
focal_class.modifier: public static final
focal_class.original_string: public static final String     MODEL_COM_CHIRALBEHAVIORS_CORE_SCHEMA_CORE_XML = "com/chiralbehaviors/CoRE/schema/core.xml";
focal_class.type: String
focal_class.var_name: MODEL_COM_CHIRALBEHAVIORS_CORE_SCHEMA_CORE_XML
focal_class.declarator: CREATE_DATABASE_XML                            = "create-database.xml"
focal_class.modifier: private static final
focal_class.original_string: private static final String    CREATE_DATABASE_XML                            = "create-database.xml";
focal_class.type: String
focal_class.var_name: CREATE_DATABASE_XML
focal_class.declarator: INITIALIZE_XML                                 = "initialize.xml"
focal_class.modifier: private static final
focal_class.original_string: private static final String    INITIALIZE_XML                                 = "initialize.xml";
focal_class.type: String
focal_class.var_name: INITIALIZE_XML
focal_class.declarator: log                                            = LoggerFactory.getLogger(Loader.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger    log                                            = LoggerFactory.getLogger(Loader.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: configuration
focal_class.modifier: private final
focal_class.original_string: private final DbaConfiguration configuration;
focal_class.type: DbaConfiguration
focal_class.var_name: configuration
focal_class.file: loader/src/main/java/com/chiralbehaviors/CoRE/loader/Loader.java
focal_class.identifier: Loader
focal_class.class_method_signature: Loader.Loader(DbaConfiguration configuration)
focal_class.full_signature: public  Loader(DbaConfiguration configuration)
focal_class.identifier: Loader
focal_class.modifiers: public
focal_class.parameters: (DbaConfiguration configuration)
focal_class.signature:  Loader(DbaConfiguration configuration)
focal_class.class_method_signature: Loader.bootstrap()
focal_class.full_signature: public void bootstrap()
focal_class.identifier: bootstrap
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void bootstrap()
focal_class.class_method_signature: Loader.clear()
focal_class.full_signature: public void clear()
focal_class.identifier: clear
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clear()
focal_class.class_method_signature: Loader.prepareDb()
focal_class.full_signature: public void prepareDb()
focal_class.identifier: prepareDb
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void prepareDb()
focal_class.class_method_signature: Loader.rollback()
focal_class.full_signature: public void rollback()
focal_class.identifier: rollback
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void rollback()
focal_class.class_method_signature: Loader.createDatabase()
focal_class.full_signature: public Loader createDatabase()
focal_class.identifier: createDatabase
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Loader
focal_class.signature: Loader createDatabase()
focal_class.class_method_signature: Loader.dropDatabase()
focal_class.full_signature: public void dropDatabase()
focal_class.identifier: dropDatabase
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void dropDatabase()
focal_class.class_method_signature: Loader.execute()
focal_class.full_signature: public void execute()
focal_class.identifier: execute
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void execute()
focal_class.class_method_signature: Loader.bootstrapCoRE()
focal_class.full_signature: private void bootstrapCoRE()
focal_class.identifier: bootstrapCoRE
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void bootstrapCoRE()
focal_class.class_method_signature: Loader.initialize()
focal_class.full_signature: private void initialize()
focal_class.identifier: initialize
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initialize()
focal_class.class_method_signature: Loader.initializeParameters(Liquibase liquibase)
focal_class.full_signature: private void initializeParameters(Liquibase liquibase)
focal_class.identifier: initializeParameters
focal_class.modifiers: private
focal_class.parameters: (Liquibase liquibase)
focal_class.return: void
focal_class.signature: void initializeParameters(Liquibase liquibase)
focal_class.class_method_signature: Loader.load(String changeLog,
                        Connection connection)
focal_class.full_signature: private void load(String changeLog,
                        Connection connection)
focal_class.identifier: load
focal_class.modifiers: private
focal_class.parameters: (String changeLog,
                        Connection connection)
focal_class.return: void
focal_class.signature: void load(String changeLog,
                        Connection connection)
focal_class.class_method_signature: Loader.loadModel()
focal_class.full_signature: private void loadModel()
focal_class.identifier: loadModel
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void loadModel()
focal_method.body: public Loader(DbaConfiguration configuration) throws Exception {
          this.configuration = configuration;
      }
focal_method.class_method_signature: Loader.Loader(DbaConfiguration configuration)
focal_method.full_signature: public  Loader(DbaConfiguration configuration)
focal_method.identifier: Loader
focal_method.modifiers: public
focal_method.parameters: (DbaConfiguration configuration)
focal_method.signature:  Loader(DbaConfiguration configuration)