Spring Framework

org.springframework.jdbc.datasource.init
Class DatabasePopulatorUtils

java.lang.Object
  extended by org.springframework.jdbc.datasource.init.DatabasePopulatorUtils

public abstract class DatabasePopulatorUtils
extends java.lang.Object

Utility methods for executing a DatabasePopulator.

Since:
3.1
Author:
Juergen Hoeller

Constructor Summary
DatabasePopulatorUtils()
           
 
Method Summary
static void execute(DatabasePopulator populator, javax.sql.DataSource dataSource)
          Execute the given DatabasePopulator against the given DataSource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabasePopulatorUtils

public DatabasePopulatorUtils()
Method Detail

execute

public static void execute(DatabasePopulator populator,
                           javax.sql.DataSource dataSource)
Execute the given DatabasePopulator against the given DataSource.

Parameters:
populator - the DatabasePopulator to execute
dataSource - the DataSource to execute against

Spring Framework