diff --git a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/annotation/GraphId.java b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/annotation/GraphId.java index 34939598a..53564bd30 100644 --- a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/annotation/GraphId.java +++ b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/annotation/GraphId.java @@ -24,7 +24,7 @@ import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** - * Annotation fot the field that virtually provides the Id of the graph entity (node or relationship), type of the field should be long + * Annotation fot the field that virtually provides the Id of the graph entity (node or relationship), type of the field should be Long */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.FIELD,ElementType.METHOD}) diff --git a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/support/mapping/Neo4jPersistentEntityImpl.java b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/support/mapping/Neo4jPersistentEntityImpl.java index 646051af1..3143b0a30 100644 --- a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/support/mapping/Neo4jPersistentEntityImpl.java +++ b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/support/mapping/Neo4jPersistentEntityImpl.java @@ -68,12 +68,6 @@ public class Neo4jPersistentEntityImpl extends BasicPersistentEntity() { Neo4jPersistentProperty unique = null; public void doWithPersistentProperty(Neo4jPersistentProperty persistentProperty) { @@ -83,6 +77,12 @@ public class Neo4jPersistentEntityImpl extends BasicPersistentEntity