{"agent":"claude","input":"Find and fix N+1 queries on this Spring Boot app's main pages. Read pom.xml or build.gradle, application.properties (especially open-in-view, default_batch_fetch_size and ddl-auto) and the entities and repositories under src/main/java first. Start the app on its default database and measure the Hibernate statement count for the owner list, the owner details, the vet list and any other list page, using hibernate.generate_statistics or SQL logging, with enough rows that each list shows several entities. For each page whose count grows with the number of rows, fix it in the repository with an @EntityGraph or a fetch join, never a collection fetch join on a paged query, and keep the batch size setting. Add a @DataJpaTest that enables statistics and asserts the statement count for each repository call you changed, and extend the existing integration test for the pages. Run ./mvnw spring-javaformat:apply and then ./mvnw -B verify, as the Maven workflow does. Do not change the entity fetch types, the schema files or any workflow. Open a pull request that lists each page with its statement count before and after, from your own measurements in this run, and quotes the test summary.","resources":[{"url":"https://github.com/your-org/your-app"}]}