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
How many types of resultset are there in jdbc?
Describe odbc?
What is a statement?
What are the steps required to execute a query in jdbc?
Why do we need a jdbcrowset like wrapper around resultset?
What does setautocommit do?
Can I get a null resultset?
How do I find ojdbc jar version?
What is jdbc drivers in java?
Is jdbc connection secure?
What are the steps to connect to a database in java?
Explain the process of creating tables using NetBeans IDE?
What is the difference between ojdbc6 and ojdbc7?
explain about special characters?
When does the result for an sql statement return null?