I want to get all direct relationships of an entity.(This entity may be a head entity or a tail entity.)
PeopleRepository.java
@Query("MATCH p=(e1:People{name:$name})-[rel*1]-(e2) return e1,rel,e2")
List<Triple> findAllDirectTriple(String nam...
I want to aggregate data in my SpringBoot project like below↓
public interface PeopleRepository extends Neo4jRepository<People,Long> {
@Query("match (n:People) return n.group as `group`,count(n) as `num`")
List<Map<String,Object>> findGroupBy...
In my Spring Boot (Version:2.6.4) Project,I use Neo4j-OGM to get information from graph database.But I encounter a problem.
The error message is
"Required identifier property not found for class com.example.demo.entity.Concept!"
Below are some files....
OK,I have tried using the Neo4jClient.But I have another problem.
Inside the mappedBy, I have tried two ways below.
List<Object> relations_1 = record.get("relation").asList();
List<String> relations_2 = record.get("relation").asList(rel -> rel.toStri...
Sorry to bother you again
At the top of the Neo4j Java Driver Spring Boot Starter - Developer Guides, there is a note says The Spring Boot starter is now superseded by the Neo4j Java Driver auto config starting with Spring Boot 2.4. For Spring Boot...