Media Summary: Looks at SQL optimisation in terms of covering indexes for queries, and joins and only fetching what we need. When fetching multiple the approach of Hibernate and How you can use DelegateEbeanServer.withFinder() to provide a test double for 'Finders ' registered as static fields on entity ...
Ebean Orm Findrowcount And Pagedlist - Detailed Analysis & Overview
Looks at SQL optimisation in terms of covering indexes for queries, and joins and only fetching what we need. When fetching multiple the approach of Hibernate and How you can use DelegateEbeanServer.withFinder() to provide a test double for 'Finders ' registered as static fields on entity ... Shows how to use DelegateEbeanServer to provide stub responses to find by id calls to EbeanServer. Shows the codegen-maven-plugin and how to generate "Finders" using it. Also at the end shows the use of WithStaticFinder and ... How save cascade works in terms of statement ordering, treatment of reference beans and automatic setting of ...
LoggedSql is part of the avaje-ebeanorm-mocker project. It can be used in testing to catch sql that is executed and assert.