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 |
What is ODBC and JDBC? How do you connect the Database?
What are the steps to connect to the database in java?
What does the jdbc databasemetadata interface?
Diff. types of triggers..
What is the role of class.forname while loading drivers?
What is Statement and PreparedStatement? whatz the difference?
Does jdbctemplate close connection?
What is createstatement method in java?
What is jdbc driver for sql server?
What is odbc and jdbc in dbms?
What is the query used to display all tables names in SQL Server (Query analyzer)?
What is jdbc odbc connection?