How to handle when the database crashes while reading the
data from the database?
Answers were Sorted based on User's Feedback
Answer / 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 |
What are the higher level apis under development on top of jdbc currently?
What is getconnection method in java?
how to retrieve sql exceptions
How is jndi useful for Database connection?
What is the JDBC?
How we say that PreparedStatment is Precompiled? where it will be compiled?
Explain the two tier and three tier architecture of jdbc.
Which type of driver is unique in jdbc?
What is 2-tier and 3-tier architecture?
What are the steps to connect to the database in java?
What is the difference between ExecuteUpdate and ExecuteQuery?
What is jdbc template?