Java org.springframework.jdbc.datasource.init DataSourceInitializer fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.jdbc.datasource.init DataSourceInitializer fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.jdbc.datasource.init DataSourceInitializer.

The text is from its open source code.

Constructor

Method

voidafterPropertiesSet()
Use the #setDatabasePopulator database populator to set up the database.
voidsetDatabaseCleaner(DatabasePopulator databaseCleaner)
Set the DatabasePopulator to execute during the bean destruction phase, cleaning up the database and leaving it in a known state for others.
voidsetDatabasePopulator(DatabasePopulator databasePopulator)
Set the DatabasePopulator to execute during the bean initialization phase.
voidsetDataSource(DataSource dataSource)
The DataSource for the database to populate when this component is initialized and to clean up when this component is shut down.
voidsetEnabled(boolean enabled)
Flag to explicitly enable or disable the #setDatabasePopulator database populator and #setDatabaseCleaner database cleaner .