Package org.jboss.arquillian.persistence.data.dbunit.configuration

Examples of org.jboss.arquillian.persistence.data.dbunit.configuration.DataSeedStrategy


   }

   private void fillDatabase() throws Exception
   {
      final DBUnitConfiguration dbUnitConfiguration = dbunitConfigurationInstance.get();
      final DataSeedStrategy dataSeedStrategy = dbUnitConfiguration.getDataSeedStrategy();
      final boolean useIdentityInsert = dbUnitConfiguration.isUseIdentityInsert();
      final DatabaseConnection connection = databaseConnection.get();
      final IDataSet initialDataSet = DataSetUtils.mergeDataSets(dataSetRegister.get().getInitial());

      new TransactionOperation(dataSeedStrategy.get(useIdentityInsert)).execute(connection, initialDataSet);
   }
View Full Code Here

TOP

Related Classes of org.jboss.arquillian.persistence.data.dbunit.configuration.DataSeedStrategy

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.