System.out.println("Hello Neo4j!");
// GraphDatabaseService graphDb = new EmbeddedGraphDatabase( "target/data/test" );
GraphDatabaseService graphDb = new EmbeddedGraphDatabase( "/Users/trisberg/neo4j/imdb" );
Transaction tx = graphDb.beginTx();
tx = graphDb.beginTx();
try {
for (Node n : graphDb.getAllNodes()) {
System.out.print("=> " + n.getId() + " :: ");
for (String s : n.getPropertyKeys()) {
System.out.print(" : " + s + " = " + n.getProperty(s));