List of usage examples for org.springframework.jdbc.datasource.init DatabasePopulator interface-usage
From source file com.excilys.ebi.bank.jdbc.SimpleBatchResourceDatabasePopulator.java
public class SimpleBatchResourceDatabasePopulator implements DatabasePopulator { private static final Logger LOGGER = LoggerFactory.getLogger(ResourceDatabasePopulator.class); private List<Resource> scripts = new ArrayList<Resource>();
From source file com.excilys.ebi.spring.dbunit.DbUnitDatabasePopulator.java
public class DbUnitDatabasePopulator implements DatabasePopulator { private static final Logger LOGGER = getLogger(DbUnitDatabasePopulator.class); private DataSetConfiguration dataSetConfiguration;
From source file org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.java
/**
* Populates a database from SQL scripts defined in external resources.
*
* <p>Call {@link #addScript(Resource)} to add a SQL script location.
* Call {@link #setSqlScriptEncoding(String)} to set the encoding for all added scripts.
*