org.springframework.boot.jdbc

Class AbstractDataSourceInitializer



  • public abstract class AbstractDataSourceInitializer
    extends Object
    Base class used for DataSource initialization.
    Since:
    1.5.0
    Author:
    Vedran Pavic, Stephane Nicoll
    • Constructor Detail

      • AbstractDataSourceInitializer

        protected AbstractDataSourceInitializer(DataSource dataSource,
                                                org.springframework.core.io.ResourceLoader resourceLoader)
    • Method Detail

      • customize

        protected void customize(org.springframework.jdbc.datasource.init.ResourceDatabasePopulator populator)
        Customize the ResourceDatabasePopulator.
        Parameters:
        populator - the configured database populator
      • getSchemaLocation

        protected abstract String getSchemaLocation()
      • getDatabaseName

        protected String getDatabaseName()

Copyright © 2019 Pivotal Software, Inc.. All rights reserved.