From 503d5d965c23beaf48da71557d4b1a4f0eae7df4 Mon Sep 17 00:00:00 2001 From: remigio Date: Mon, 19 May 2014 11:40:49 +0200 Subject: [PATCH] Update DelegatingGraphDatabase.java Empty constructor needed by Java EE CDI to treat this class as a bean --- .../data/neo4j/support/DelegatingGraphDatabase.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/support/DelegatingGraphDatabase.java b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/support/DelegatingGraphDatabase.java index 8b1f6c814..a6167e062 100644 --- a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/support/DelegatingGraphDatabase.java +++ b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/support/DelegatingGraphDatabase.java @@ -63,6 +63,9 @@ public class DelegatingGraphDatabase implements GraphDatabase { private ResultConverter resultConverter; private volatile CypherQueryEngineImpl cypherQueryEngine; + public DelegatingGraphDatabase() { + } + public DelegatingGraphDatabase(final GraphDatabaseService delegate) { this(delegate,null); }