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

what are design patterns?

3 Answers   CFC, TCS, Wipro,


what are the Different types of exceptions in JDBC?

1 Answers  


Are there any ODBC drivers that do not work with the JDBC- ODBC Bridge?

2 Answers  


How can we set null value in jdbc preparedstatement?

0 Answers  


Is jdbctemplate thread safe?

0 Answers  






What are JDBC Best Practices?

0 Answers  


What is a datasource in java?

0 Answers  


How can you sort dates?

1 Answers  


Is it possible to connect to multiple databases simultaneously? Using single statement can one update or extract data from multiple databases?

0 Answers  


What is de-normalization?

1 Answers  


What is correlated subquery?

0 Answers   emc2, JK Technosoft,


What is xe in oracle jdbc url?

0 Answers  


Categories