Skip to content

Improve performance of results with relationships [DATAJDBC-368] #592

Closed as not planned
@spring-projects-issues

Description

@spring-projects-issues

altancabal opened DATAJDBC-368 and commented

When the returned element is an entity with relationships like the LegoSet aggregate example in the [Spring Data JDBC basics repository|https://github.com/spring-projects/spring-data-examples/tree/7b0c7a539b4d02ce6e214978f5e113c959a50f8f/jdbc/basics], then a query is executed for every element in the result.

For example, if you add repository.findAll(); at the end of the customQueries() aggregation test, after the first query is executed, an additional query is executed for every model in the result. This is very time consuming.

 
 


No further details from DATAJDBC-368

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions