Scala pattern matching - Identify between connection(infra) exception and data(Query) exception in Java.Sql

前端 未结 0 1393
灰色年华
灰色年华 2021-01-20 14:25

I am trying to find ways to write a code for retry only for connection exception. But every exception from Sql server is under SQLSERVEREXCEPTION.

Is there any way to

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