spring-projects / spring-data-jpa

Simplifies the development of creating a JPA-based data access layer.
https://spring.io/projects/spring-data-jpa/
Apache License 2.0
2.98k stars 1.41k forks source link

Fluent query API should use ProjectionFactory provided by the RepositoryFactory #3432

Closed christophstrobl closed 5 months ago

christophstrobl commented 5 months ago

This PR makes sure to push the ProjectionFactory down to the fluent query to make use of beans registered in the context. Prior to this change the fluent query variant would host its own factory not being aware of its surroundings.

Resolves: #3410