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 do I start debugging problems related to the JDBC API?
How can I determine the isolation levels supported by my DBMS?
What is serialization and deserialization in java programming?
What's the benefit for specifying constraints like not null, primary key explicitly instead of specifying it against the column ?
What is a jdbc connection?
What are dml and ddl?
What is the meaning of connection?
What do you mean by jdbc batch processing and what are the advantages of using jdbc batch processing?
Give a way to check that all result sets have bin accessed and update counts are generated by execute method.
How can I create a custom RowSetMetaData object from scratch?
What are different types of ResultSet?
How to retrieve warnings in jdbc?
Explain the process of creating tables using NetBeans IDE?
What is correlated subquery?
What is jdbc odbc bridge?