Based on the Spring Data Pageable API, this extension adds a queryForPage(...) method to the JdbcTemplate which through SQL subselect wrapping techniques enables the user to query for paged (and sorted) results.

Changes to be committed: modified: spring-jdbc/spring-jdbc.gradle new file: spring-jdbc/src/main/java/org/springframework/jdbc/core/PagingAndSortingJdbcTemplate.java

Comment From: mp911de

Spring Data JDBC is dialect-aware with an extensible dialect mechanism. Data JDBC builds on top of JdbcTemplate (NamedParameterJdbcTemplate in particular). It typically uses repositories and not so much SQL augmentation.

I’d suggest filing a ticket at https://jira.spring.io/projects/DATAJDBC and continue the discussion over there.

Comment From: snicoll

It indeed creates a cycle so please follow-up with Spring Data JDBC if you haven't done so already.