# Spring Neo4j RX fails at DTO projection

**URL:** <https://community.neo4j.com/t/spring-neo4j-rx-fails-at-dto-projection/37704>\
**Category:** Spring Data Neo4j & Neo4j-OGM\
**Created:** [May 2, 2021, 12:21am UTC](https://community.neo4j.com/t/spring-neo4j-rx-fails-at-dto-projection/37704 "2021-05-02T00:21:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bekirtaskin05](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/bekirtaskin05/32/17599_2.png) [@bekirtaskin05](https://community.neo4j.com/u/bekirtaskin05)\
**Post date:** [May 2, 2021, 12:21am UTC](https://community.neo4j.com/t/spring-neo4j-rx-fails-at-dto-projection/37704/1 "2021-05-02T00:21:42Z")

</div>

Hi, I have changed dependency as below and facing some projection issues since;

```auto
<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;

```auto
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;

```auto
@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;

 ![image](https://us1.discourse-cdn.com/flex021/uploads/neo4jcommunity/original/3X/2/8/28ec6d47113dbc505d6da57bfc73ff43c17688e6.png)

Does anyone encounter this kind of issue?  
Thanks in advance,

---

<div class="post-metadata">

**Author:** ![florent\_biville](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/florent_biville/32/14205_2.png) [@florent\_biville](https://community.neo4j.com/u/florent_biville)\
**Post date:** [May 3, 2021, 11:57am UTC](https://community.neo4j.com/t/spring-neo4j-rx-fails-at-dto-projection/37704/2 "2021-05-03T11:57:20Z")

</div>

Hello,

[GitHub - neo4j/sdn-rx: Nextgen Spring Data module for Neo4j supporting (not only) reactive data access and immutable support](https://github.com/neo4j/sdn-rx) (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](https://spring.io/projects/spring-data-neo4j).

I strongly advise you to migrate, chances are the bug you're facing has been fixed in SDN.
