diff --git a/pom.xml b/pom.xml
index dd7cac4..2789ec4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,13 +10,13 @@
org.neo4j
neo4j-rest-graphdb
jar
- 1.9.3-SNAPSHOT
+ 1.9.5
Neo4j - Rest GraphDatabaseService Wrapper
Neo4j REST binding implementing the GraphDatabaseService interface.
UTF-8
1.6.1
- 1.9.2
+ 1.9.5
1.4
1.2
1.5
diff --git a/src/main/java/org/neo4j/rest/graphdb/RestGraphDatabase.java b/src/main/java/org/neo4j/rest/graphdb/RestGraphDatabase.java
index 49f869a..375c7bd 100644
--- a/src/main/java/org/neo4j/rest/graphdb/RestGraphDatabase.java
+++ b/src/main/java/org/neo4j/rest/graphdb/RestGraphDatabase.java
@@ -23,7 +23,6 @@
import org.neo4j.graphdb.*;
import org.neo4j.rest.graphdb.index.RestIndexManager;
import org.neo4j.rest.graphdb.query.RestCypherQueryEngine;
-import org.neo4j.rest.graphdb.transaction.NullTransactionManager;
import org.neo4j.rest.graphdb.util.ResultConverter;
import javax.transaction.TransactionManager;
@@ -52,18 +51,22 @@ public RestAPI getRestAPI(){
return this.restAPI;
}
+ @Override
public RestIndexManager index() {
return this.restAPI.index();
}
+ @Override
public Node createNode() {
return this.restAPI.createNode(null);
}
+ @Override
public Node getNodeById( long id ) {
return this.restAPI.getNodeById(id);
}
+ @Override
public Node getReferenceNode() {
return this.restAPI.getReferenceNode();
}
@@ -83,6 +86,7 @@ public RelationshipType convert(Map row, Class
});
}
+ @Override
public Relationship getRelationshipById( long id ) {
return this.restAPI.getRelationshipById(id);
}
@@ -105,5 +109,11 @@ public Transaction beginTx() {
public void shutdown() {
restAPI.close();
}
+
+ @Override
+ public boolean isAvailable(long l) {
+ // not really sure what to use here
+ return restAPI != null && cypherQueryEngine != null;
+ }
}