Skip to content

Mention Ebean's query beans and their limitations with Play Ebean - #919

Merged
mkurz merged 1 commit into
playframework:mainfrom
mkurz:docs-query-beans-note
Oct 9, 2026
Merged

mkurz merged 1 commit into
playframework:mainfrom
mkurz:docs-query-beans-note

Conversation

@mkurz

@mkurz mkurz commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Ebean provides query beans for type-safe queries, which #61 asks for. Play Ebean doesn't set up their generation, and only enhances the code that uses them if it's in the packages of the models. They can be set up manually, but that has limitations with incremental compilation. The investigation in #61 describes the configuration, the tested versions and when a clean build is needed.

This adds a short note to the Ebean docs that points there, instead of documenting the manual setup as a recommended recipe. #61 stays open for integrating query beans into sbt-play-ebean.

Play Ebean doesn't set up the generation of Ebean's query beans, or
the enhancement of the code that uses them. Setting that up manually
works, but has limitations with incremental compilation. Point to the
investigation in playframework#61, which describes the configuration it needs, the
tested versions and when a clean build is needed.
@mkurz
mkurz merged commit 9383f3c into playframework:main Oct 9, 2026
18 checks passed
@mkurz
mkurz deleted the docs-query-beans-note branch October 9, 2026 22:38
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.

1 participant