sort by Descending &Ascending order

 List<DistributorAllot> distributorAllots=distributorAllotRepo.findAll(Sort.by(Sort.Direction.DESC,"id"));

Comments

Popular posts from this blog

Springboot important annotation

image work in springboot