Use of @ResponseStatus interferes with @Transactional rollback behavior

Viewed 15

I've found that when I use the @ResponseStatus annotation on an unchecked error declaration, as discussed in this Baeldung article, it invalidates the @Transactional rollback behavior I'm relying on in my service layer.

How can I translate unchecked errors into HTTP responses without interfering with @Transactional?

0 Answers
Related