public abstract class DatabasePopulatorUtils extends Object
DatabasePopulator
.Constructor and Description |
---|
DatabasePopulatorUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
execute(DatabasePopulator populator,
DataSource dataSource)
Execute the given
DatabasePopulator against the given DataSource . |
public static void execute(DatabasePopulator populator, DataSource dataSource) throws org.springframework.dao.DataAccessException
DatabasePopulator
against the given DataSource
.populator
- the DatabasePopulator
to executedataSource
- the DataSource
to execute againstorg.springframework.dao.DataAccessException
- if an error occurs, specifically a ScriptException