I would like to know if and what type of error is thrown by Spring JPA when trying to save an object to a database. The
JpaRepository.java says to look at
org.springframework.data.repository.CrudRepository#save. However, I can not seem to find what type of error is thrown, if any at all. If no error is thrown, how do I go about checking if the save was successful?
Any insight would be much appreciated.