springboot2 redis code example
Example 1: spring boot redis example
studentRepository.deleteById(student.getId());
Example 2: spring boot redis example
Student retrievedStudent =
studentRepository.findById("Eng2015001").get();
studentRepository.deleteById(student.getId());
Student retrievedStudent =
studentRepository.findById("Eng2015001").get();