Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
05-01-2021 05:21 PM
Hi, I have changed dependency as below and facing some projection issues since;
<dependency>
<groupId>org.neo4j.springframework.data</groupId>
<artifactId>spring-data-neo4j-rx-spring-boot-starter</artifactId>
<version>1.1.1</version>
</dependency>
I am using reactive repository with cypher query;
public interface ProductionGenreRepository extends ReactiveNeo4jRepository<ProductionGenre, Long> {
@Query("MATCH (n:ProductionGenre)-[t:TRANSLATED_IN]->(l:Locale {name: $locale}) "
+ "RETURN n{id: ID(n), name: t.text} "
+ "ORDER BY t.text")
Flux<GenreResponse> findByLocale(Locale locale);
}
DTO;
@Data
@AllArgsConstructor
public class GenreResponse {
private final Long id;
private final String name;
}
DefaultNeo4jConverter converts first record but it throws exception on second record. Return type is Flux but I have this error;
Does anyone encounter this kind of issue?
Thanks in advance,
Solved! Go to Solution.
05-03-2021 04:57 AM
Hello,
GitHub - neo4j/sdn-rx: Nextgen Spring Data module for Neo4j supporting (not only) reactive data acce... (including its Spring Boot starter spring-data-neo4j-rx-spring-boot-starter
) is not maintained and has been replaced with Spring Data Neo4j (SDN) 6: Spring Data Neo4j.
I strongly advise you to migrate, chances are the bug you're facing has been fixed in SDN.
05-03-2021 04:57 AM
Hello,
GitHub - neo4j/sdn-rx: Nextgen Spring Data module for Neo4j supporting (not only) reactive data acce... (including its Spring Boot starter spring-data-neo4j-rx-spring-boot-starter
) is not maintained and has been replaced with Spring Data Neo4j (SDN) 6: Spring Data Neo4j.
I strongly advise you to migrate, chances are the bug you're facing has been fixed in SDN.
All the sessions of the conference are now available online