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