Package util

Examples of util.Neo4jTestUtils


  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

Related Classes of util.Neo4jTestUtils

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.