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 DataAccessException
DatabasePopulator
against the given DataSource
.populator
- the DatabasePopulator
to executedataSource
- the DataSource
to execute againstDataAccessException
- if an error occurs, specifically a ScriptException