How to handle when the database crashes while reading the
data from the database?

Answers were Sorted based on User's Feedback



How to handle when the database crashes while reading the data from the database?..

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

How to handle when the database crashes while reading the data from the database?..

Answer / giridhar gangapatnam

I agree with Deepti Agrawal

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JDBC Interview Questions

Difference between JDBC and Hibernate? Give one sample based on the variance?

4 Answers   HCL, IBM, Xybion,


What is connection commit?

0 Answers  


What is namedparameterjdbctemplate?

0 Answers  


What are the utilities of the callablestatement?

0 Answers  


What type of drivers are used for web application?

2 Answers  


What is Statement and PreparedStatement? whatz the difference?

2 Answers  


what is the difference between SENSITIVE and INSENSITIVE?

1 Answers  


What is execute in java?

0 Answers  


What is jdbc databasemetadata interface?

0 Answers  


What do you mean by two phase commits?

0 Answers  


What will happen when ResultSet is not closed?

1 Answers   CTS,


What are the benefits of PreparedStatement over Statement?

0 Answers  


Categories