N
N
noob11112017-07-31 17:32:02
Java
noob1111, 2017-07-31 17:32:02

How to check if a process has lost connection with the database?

How to check if a process has lost connection with the database? Does java handle such an exception and which exception class is used?
The bottom line is that if you lose connection with the database, you need to log in and restore the connection.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Armenian Radio, 2017-07-31
@gbg

At the next request, when you get a curse at the lack of communication - take it and restore it.

A
aol-nnov, 2017-08-01
@aol-nnov

Does java handle such an exception

Java is a programming language, it does not process anything by itself. as you write, so be it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question