use redis to store value i n spring boot application code example
Example 1: spring boot redis example
studentRepository.deleteById(student.getId());
Example 2: spring boot redis example
List<Student> students = new ArrayList<>();
studentRepository.findAll().forEach(students::add);