Mysql – I want to transmit a status code if the query is successful with Spring boot, how can I do it?
Although this situation is easy for ready overrided methods, I couldn't find a way for my own query. This is my repository : public interface CommentRepository extends JpaRepository<User , Long >{ @Modifying @Transactional @Query( value="delete from users where first_name=:name" ,…