Skip to content

Conversation

@PromanSEW
Copy link
Contributor

@PromanSEW PromanSEW commented Nov 22, 2025

Unfortunately I could not create a working test, but I provided minimal workaround with my problem
Test is working.
See #3626 (comment)
This code worked with Ebean 15.1.0, but crashes with UnsupportedOperationException on Ebean 17.1.0
My full working query with other fields (don't make sense anyway):

ClanQuest quest = finder.query().setId(id).select("conditions, fishes, time, ended")
					.fetch("questtype", "id").fetch("clan", "buildings")
					.filterMany("clan.buildings").eq("type", Building.CAFE).findOne();

@PromanSEW PromanSEW closed this Nov 22, 2025
@PromanSEW PromanSEW reopened this Nov 22, 2025
@PromanSEW
Copy link
Contributor Author

PromanSEW commented Nov 22, 2025

@rbygrave
Copy link
Member

Effectively included via #3707

@rbygrave rbygrave closed this Nov 23, 2025
@PromanSEW PromanSEW deleted the filterManyBug branch November 23, 2025 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug fix and change filterMany to put predicates into JOIN clause, Fix for #3626

2 participants