How to handle when the database crashes while reading the
data from the database?
Answer Posted / deepti agrawal
We write the JDBC code in the try & catch block. So if the
database crashes it will return some kind of exception
which can be handled through the code.
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
Explain the necessary steps to connect to the database in java?
How to check jdbc connection in linux?
What is the latest version of JDBC? What are the new features added in that?
Why are we using blob datatypes in jdbc?
What is jdbc odbc?
Which database is used for java?
What is jdbc and odbc?
What are the differences between statement and preparedstatement interface?
What is execute in java?
Is jdbc an api?
Explain the main method?
What are the conditions applies to varchar variable, when using in procedures?
What is the purpose of the jdbc resultset interface?
What are the ddl statements?
What is setautocommit in jdbc?