Skip to content

@Query support Slice and Page #1760

Open
@guodage

Description

@guodage

I know PartTreeJdbcQuery support Slice/Page since #952, but I need use @Query for customized sql and Pageable in parameter when my scenes of query is complicated.

like this:

@Query("a long sql")
Page<Long> findPage(Pageable pageable);

I had forked from 3.0.12 and write some code to implement this in StringBasedJdbcQuery.
see 8btc-OnePiece@32b231f

I'm looking forward to any feedback, and confirm is there any guys need it or PR.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions