Package test.jdbc.datasource

Examples of test.jdbc.datasource.DataSourceInitializer


      return dataSource;
    }
   
    @Bean
    public DataSourceInitializer dataSourceInitializer() {
      DataSourceInitializer dataSourceInitializer = new DataSourceInitializer();
      dataSourceInitializer.setDataSource(dataSource());
      dataSourceInitializer.setInitScripts(new Resource[] {
        new ClassPathResource("org/springframework/batch/core/schema-drop-hsqldb.sql"),
        new ClassPathResource("org/springframework/batch/core/schema-hsqldb.sql")
      });
      return dataSourceInitializer;
    }
View Full Code Here

TOP

Related Classes of test.jdbc.datasource.DataSourceInitializer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.