Hey All !

I have this this method for save and update student but It whenever I save student into database and hit getAllStudent it dosen't get back the last student I already have saved ?
please help?
@cashput(cacheNames="studentCache")
{
public StudentDTO save (StudentDTO studentDTo)
Student student=studentRepository.save().map
return studentMapper.toDto(student);
}