Closed
Description
When I create a Repository like:
interface TRepository : Repository<T, ID> {
fun findAll(page:Pageable) : List<T>
}
the implementation uses
Page<T> JdbcAggregateTemplate.findAll(Class<T> domainType, Pageable pageable)
under the hood, which issues an (in this case) unnecessary "select count".
Can you think of adding an implementation that omits the additional select?