Examples of clearDatabase()


Examples of com.alvazan.orm.api.base.NoSqlEntityManager.clearDatabase()

  }
 
  @After
  public void clearDatabase() {
    NoSqlEntityManager other = factory.createEntityManager();
    other.clearDatabase(true);
  }
 
  //In one case, we added this String.long.String a few times and our in-memory version saw different values as being the same
  //due to the Utf8Comparator being not so correct in that it translated some different long values back to the same string utf 8 value
  @Test
View Full Code Here

Examples of com.alvazan.orm.api.base.NoSqlEntityManager.clearDatabase()

    mgr = factory.createEntityManager();
  }
  @After
  public void clearDatabase() {
    NoSqlEntityManager other = factory.createEntityManager();
    other.clearDatabase(true);
  }
 
  @Test
  public void testEmbedded() {
    EmbeddedEmail sub = new EmbeddedEmail();
View Full Code Here

Examples of com.oltpbenchmark.api.BenchmarkModule.clearDatabase()

        }

        // Clear the Benchmark's Database
        if (isBooleanOptionSet(argsLine, "clear")) {
            CREATE_LOG.info("Resetting " + bench.getBenchmarkName().toUpperCase() + " database...");
            bench.clearDatabase();
            CREATE_LOG.info("Finished!");
            CREATE_LOG.info(SINGLE_LINE);
        } else if (CREATE_LOG.isDebugEnabled()) {
            CREATE_LOG.debug("Skipping creating benchmark database tables");
            CREATE_LOG.info(SINGLE_LINE);
View Full Code Here

Examples of org.dspace.browse.IndexBrowse.clearDatabase()

                try
                {
                    IndexBrowse browse = new IndexBrowse();
                    browse.setDelete(true);
                    browse.setExecute(true);
                    browse.clearDatabase();
                }
                catch (BrowseException e)
                {
                    log.error(e.getMessage(),e);
                    throw new RuntimeException(e.getMessage(),e);
View Full Code Here

Examples of util.Neo4jTestUtils.clearDatabase()

  public static void main(String[] args) {
    ConfigurableApplicationContext context = new ClassPathXmlApplicationContext("config.xml", Neo4jDemo.class);
   
       // first clean up from any previous runs
        Neo4jTestUtils graphUtils = context.getBean(Neo4jTestUtils.class);
        graphUtils.clearDatabase();
       
        // add some people - must be done inside a transaction
        new TransactionTemplate(context.getBean(PlatformTransactionManager.class))
          .execute(new TransactionCallback<Object>() {
          @Override
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.