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
What is createstatement method in java?
How to set the attribute concurrency in resultset?
What is jdbc odbc bridge?
What is jdbc and explain jdbc architecture?
What class.forname does, while loading the drivers?
Jdbc-odbc bridge is multi-threaded or not?
How do we load the drivers?
How does JDBC API helps us in achieving loose coupling between Java Program and JDBC Drivers API?
What are temp tables ?
Explain the necessary steps to connect to the database in java?
How can we store the file in the oracle database?
What is jdbc resultsetmetadata interface?
What is jdbc connection class?
How does jdbc connect to database?
Is odbc an api?