Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add support for projections on queries by example with fluent query #1870

Open
VoladorEstelar opened this issue Aug 31, 2024 · 0 comments
Open
Labels
type: enhancement A general enhancement

Comments

@VoladorEstelar
Copy link

VoladorEstelar commented Aug 31, 2024

Currently it is not possible using JDBC to do this, for example :

Page

findBy(Example example, Function<FluentQuery.FetchableFluentQuery, Page

> queryFunction);

Where P is a projection record of T.

However, it is possible to obtain a List

using a native query.
Or to obtain a Page of the full object in the DB, which may not be ideal

It would be very useful if we could use fluent queries for projections, is this a feature we can expect?

Thank you

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Aug 31, 2024
@mp911de mp911de added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Sep 9, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

3 participants