What is your idea behind the declaration of findById ? is it to get rid of the Optional in the returned type ? Then what is the difference with getOne?
I can't see the difference between your deleteById and the one provided in CrudRepository: may you elaborate?
Hello @Malvikabhalla99 and thx for your work :)
I was wondering:
findById
? is it to get rid of theOptional
in the returned type ? Then what is the difference withgetOne
?deleteById
and the one provided in CrudRepository: may you elaborate?