I'm going to try in my application Neo4j Manual Index on Relationship Properties in order to fix the performance issue I faced Neo4j Cypher query performance optimization
I have a few question which is not clear to me from the official Neo4j…
Background
I have a Maven, Spring data Neo4j project. It posts and gets a single object. I am trying to add sessions, but running into errors.
There are docs:…
Background
My spring data neo4j application is giving out cypher errors.
This is odd because I am using neo ogm to manage all of my cyper statements, I have not written any cypher myself.
Here are my errors:
Cypher Error in CLI output
Error…
I have the following entity:
@NodeEntity
public class Action {
...
@Index(unique = false)
private Date createDate;
...
}
I need to get the last Action that was created during some previous period of time.
In order to do this I have…
I'm trying to migrate from SDN 4.2 to SDN 5 and OGM 3
Everything almost works perfectly except one case.
Right now in order to save the entity I have to use depth=2 instead of depth=1 like at SDN 4.2
It's hard to explain there so I have created a…
I am testing Neo4j with Spring Boot and I have found the following problem when I try to insert an element using Rest API I get the error that a JSON can not be serialized to an Entity. If someone can help me or explain how to change my code or how…
I have the following entity:
@NodeEntity
public class Value {
@Properties(prefix = "property", allowCast = true)
private Map properties;
}
I have added the following properties:
Map properties1 = new…
I am planning to migrate existing services from mongodb to neo4j graphdb for persistence. I have profile and order service that uses mongo backend. My order domain entity has reference to profileId and I use application code to join Order and…
I have the following SDN5 node entity:
@NodeEntity
public class Value {
@Index(unique = false)
private Object value;
}
As you may see, I have defined value as Object and placed the index over it.
According to my application business…
In my @RelationshipEntity I have defined the following dynamic properties:
@Properties(prefix = "property", allowCast = true)
private Map properties;
Under the different Long keys I need to store Map object.
Everything…
I'm trying to configure a Spring Boot 1.5.9 project with multiple data sources, of which some are Neo4j.
The version of spring-data-neo4j I'm using is 4.2.9.
My goal is to use a different SessionFactory for different repositories, using a different…
I'm trying to save a domain object that inherits its id annotated with @Id @GeneratedValue(strategy = UuidStrategy.class) from a superclass, but get a NullPointerException when I attempt to do the save, even though the Neo4j OGM manual states that…
In my Spring Data Neo4j 5 project I have the following Neo4j Java configuration:
@Bean
public org.neo4j.ogm.config.Configuration configuration() {
// @formatter:off
return new org.neo4j.ogm.config.Configuration.Builder()
…
I started my pet project - this is a decision-making system. The project is built on different technologies but Neo4j is the main database and the core of it. I use Spring Data Neo4j 5 together with Spring Boot 2 in order to work with Neo4j.
I use…