Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- return transactionService.findAll(page, size)
- public Page<PaymentTransactions> findAll(int page, int size) {
- return dao.findAll(PageRequest.of(page,size, new Sort(Sort.Direction.DESC, "createdAt")));
- }
- return transactionService.getAllBySpecification(specification, pageable)
- @Override
- public Page<PaymentTransactions> getAllBySpecification(final Specification<PaymentTransactions> specification, final Pageable pageable) {
- return dao.findAll(specification, pageable);
- }
- return dao.findAll(specification, PageRequest.of(page,size, new Sort(Sort.Direction.DESC, "createdAt")));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement