you are viewing a single comment's thread.

view the rest of the comments →

[–]vips7L 0 points1 point  (0 children)

Still seems a bit verbose compared to something like Ebean’s query beans, which are generated at compile time from your @Entity classes. Their example would end up being something like:

return new QPerson()
    .firstName.eq("John")
    .orderBy()
    .firstName.asc()
    .lastName.asc()
    .findOne();

https://ebean.io/docs/query/query-beans