open fun setDatabaseCleaner(databaseCleaner: DatabasePopulator): Unit
Set a script execution to be run in the bean destruction callback, cleaning up the database and leaving it in a known state for others.
databaseCleaner - the database script executor to run on destroy
See Also
#setDatabasePopulatororg.springframework.jdbc.datasource.init.DataSourceInitializer#setDatabaseCleaner