If I am trying to delete parent table then DataIntegrityViolationException is showing. How should I handle that exception?

前端 未结 0 1726
长情又很酷
长情又很酷 2021-01-20 14:50

I tried doing it by writing like this. But, it is not working at all. I want to display a message that \'we can not delete\', instead of all the tracing.

             


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