Example usage for Java org.springframework.jdbc.datasource.init DataSourceInitializer fields, constructors, methods, implement or subclass
The text is from its open source code.
void | afterPropertiesSet() Use the #setDatabasePopulator database populator to set up the database. |
void | setDatabaseCleaner(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. |
void | setDatabasePopulator(DatabasePopulator databasePopulator) Set the DatabasePopulator to execute during the bean initialization phase. |
void | setDataSource(DataSource dataSource) The DataSource for the database to populate when this component is initialized and to clean up when this component is shut down. |
void | setEnabled(boolean enabled) Flag to explicitly enable or disable the #setDatabasePopulator database populator and #setDatabaseCleaner database cleaner . |