Skip to content

Instantly share code, notes, and snippets.

@riahichedy
riahichedy / GraphPersistance.java
Created February 7, 2015 22:30
Graph persistance
package org.pri.controller;
import java.io.File;
import org.neo4j.graphdb.Direction;
import org.neo4j.graphdb.GraphDatabaseService;
import org.neo4j.graphdb.Node;
import org.neo4j.graphdb.Relationship;
import org.neo4j.graphdb.RelationshipType;
import org.neo4j.graphdb.Transaction;
@riahichedy
riahichedy / pom.xml
Created January 20, 2015 10:02
Forcer Java 1.7
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.7</source>
<target>1.7</target>
<encoding>UTF-8</encoding>
</configuration>