public abstract class DatabasePopulatorUtils
extends java.lang.Object
DatabasePopulator
.Constructor and Description |
---|
DatabasePopulatorUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
execute(DatabasePopulator populator,
javax.sql.DataSource dataSource)
Execute the given
DatabasePopulator against the given DataSource . |
public static void execute(DatabasePopulator populator, javax.sql.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