using redis in spring boot code example
Example 1: spring boot redis example
studentRepository.deleteById(student.getId());
Example 2: spring boot redis example
Student retrievedStudent =
studentRepository.findById("Eng2015001").get();
Example 3: spring boot redis example
List<Student> students = new ArrayList<>();
studentRepository.findAll().forEach(students::add);