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 Apache DBCP API?
How can you retrieve data from the resultset using jdbc?
Which is better odbc or jdbc?
How many types of JDBC Drivers are present and what are they?
How to get the Database server details in java program?
How do you determine the sensitivity of the ResultSet object?
How can we retrieve the file in the oracle database?
What is jdbc and jpa?
What is JDBC Transaction Management and why do we need it?
What are restrictions on triggers?
What does setautocommit do?
How to check jdbc driver version in websphere?
What are the different types of locking in JDBC?
How can we maintain the integrity of a database by using jdbc?
Is jdbc a protocol?