Catch exception inside a spring transaction with spring data

前端 未结 0 867
野性不改
野性不改 2021-01-19 17:53

I would like to catch an exception from a spring data repository (PersistenceException). However, the catch is never called.

public interface FooRepository
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题