Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

#3313 Ability to configure fetch batch size when using FetchGroups and query beans #3348

Merged
merged 1 commit into from
Mar 3, 2024

Conversation

rbygrave
Copy link
Member

@rbygrave rbygrave commented Mar 3, 2024

We can do this currently using string paths and properties, this adds support for doing this when using query beans and strong types

  private static final FetchGroup<Customer> FETCHGROUP_CustomerWithContacts = QCustomer.forFetchGroup()
    .select(cu.name, cu.phoneNumber)
    .contacts.fetch(FetchConfig.ofQuery(1000), co.firstName, co.lastName, co.email)
    .buildFetchGroup();


    new QCustomer()
      .select(FETCHGROUP_CustomerWithContacts)
      .findList();

…d query beans

We can do this currently using string paths and properties, this adds support for doing this when using query beans and strong types
@rbygrave rbygrave added this to the 14.0.1 milestone Mar 3, 2024
@rbygrave rbygrave self-assigned this Mar 3, 2024
@rbygrave rbygrave linked an issue Mar 3, 2024 that may be closed by this pull request
@rbygrave rbygrave merged commit 351a1c4 into master Mar 3, 2024
2 checks passed
@rbygrave rbygrave deleted the feature/3313-fetchGroup-with-config branch March 3, 2024 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow to configure fetch batch size when using FetchGroups
1 participant