title: Spring JPA with Hibernate: How to verify that an object was saved?
body: <p>How can you verify that after, for example,  UserService object called save(User entity) (CrudRepository implementation) method in UserRepository object (annotated with @Repository("userRepository")), that object was indeed saved and there were no issues.</p>
  
  <p>Almost all the tutorials simply tend to ignore this situation and make save(User user) method in a service class void.</p>