Spring Data JPA Pagination Queries and HikariCP Connection Pool Utilization in JHipster
When using Spring Data JPA's Pageable interface in a JHipster-generated service, each pagination request triggers two SQL statements: a data query with LIMIT/OFFSET and a separate count query to determine the total number of rows. Under concurrent load, the count query can occupy a connection for the duration of its execution, especially on large tables lack