How to handle when the database crashes while reading the
data from the database?
Answers were Sorted based on User's Feedback
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 |
Difference between JDBC and Hibernate? Give one sample based on the variance?
What is connection commit?
What is namedparameterjdbctemplate?
What are the utilities of the callablestatement?
What type of drivers are used for web application?
What is Statement and PreparedStatement? whatz the difference?
what is the difference between SENSITIVE and INSENSITIVE?
What is execute in java?
What is jdbc databasemetadata interface?
What do you mean by two phase commits?
What will happen when ResultSet is not closed?
What are the benefits of PreparedStatement over Statement?