How to handle when the database crashes while reading the
data from the database?
Answer Posted / 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 |
Post New Answer View All Answers
What is a connection string used for?
Why jdbc is used in java?
Which type of driver provides jdbc access via one or more odbc drivers?
How to check jdbc connection in java?
How to know howmuch data is truncated?
What are the jdbc drivers in java?
What is an odbc driver?
Is jdbctemplate thread safe?
What is difference between statement and preparedstatement in jdbc?
What is CLOB and BLOB datatypes in JDBC?
What does executequery return in java?
Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?
Explain the importance of drivermanager.
What is the benefit of having jdbcrowset implementation?
What are dml and ddl?