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 are the steps to connect to a database in java?
What do you mean by database connection pooling?
What is sqlwarning and discuss the procedure of retrieving warnings?
What is new in JDBC 2.0?
Does sql allow null values ? Can we use it within where clause ?
What are different types of JDBC Drivers?
How to check jdbc connection in linux?
What does the jdbc connection interface?
What is the difference between jdbc and odbc?
What is JDBC Savepoint? How to use it?
What is database connection pooling? Advantages of using a connection pool?
How do I find jdbc version?
Is odbc an api?
How to update a resultset programmatically?
What is jdbc and its advantages?