use of org.openforis.collect.persistence.DbInitializer in project collect by openforis.
the class ApplicationInitializerServletContextListener method initDB.
private void initDB() {
LOG.info("========Open Foris Collect - Starting DB initialization ========");
DataSourceConnectionProvider connectionProvider = new DataSourceConnectionProvider(DbUtils.getDataSource());
new DbInitializer(connectionProvider).start();
LOG.info("========Open Foris Collect - DB Initialized ====================");
}
Aggregations