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 are dml and ddl?
What are the steps involved in establishing a connection using jdbc in java?
What is jdbc odbc bridge?
What is drivermanager in jdbc?
What are the different classes through which JDBC represents statements?
How many packages are available in jdbc api?
What is metadata in java programming?
How to insert an image or raw data into database?
How do java applications access the database using jdbc?
What are the three basic components of the odbc architecture?
Is oracle client required for jdbc connection?
What is device controller?
What is the purpose of jdbc resultset interface?
What is jdbc? Describe the steps needed to execute a sql query using jdbc.
Prepared statements are faster. Why?