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 is getconnection method in java?

0 Answers  


What is a Connection?

1 Answers  


What is odbc jdbc?

0 Answers  


What do you mean by odbc?

0 Answers  


How to find that, a row is updated or not?

2 Answers  






What is the use of jdbc api?

0 Answers  


Where is mysql jdbc driver located?

0 Answers  


What are jdbc and its components?

0 Answers  


How do I disallow NULL values in a table?

0 Answers  


Is it possible to connect to multiple databases simultaneously?

0 Answers  


How many locking systems are there in jdbc?

0 Answers  


which scenarios we go for jdbc,and which scenario we go for connection polling and wat r advantages and disadvantages using connection pooling.

2 Answers   TCS,


Categories