Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is Apache DBCP API?

1011


How can you retrieve data from the resultset using jdbc?

1073


Which is better odbc or jdbc?

1000


How many types of JDBC Drivers are present and what are they?

1192


How to get the Database server details in java program?

1073


How do you determine the sensitivity of the ResultSet object?

994


How can we retrieve the file in the oracle database?

971


What is jdbc and jpa?

1007


What is JDBC Transaction Management and why do we need it?

1155


What are restrictions on triggers?

2232


What does setautocommit do?

971


How to check jdbc driver version in websphere?

1094


What are the different types of locking in JDBC?

1013


How can we maintain the integrity of a database by using jdbc?

1078


Is jdbc a protocol?

937