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...

Difference between Dirty, commited ,phantom,repeatable
reads?

Answer Posted / bawa

- Dirty read—Dirty reads occur when one transaction reads data that has been written but not yet committed by another transaction. If the changes are later rolled back, the data obtained by the first transaction will be invalid.

- Nonrepeatable read—Nonrepeatable reads happen when a transaction performs the same query two or more times and each time the data is different. This is usually due to another concurrent transaction updating the data
between the queries.

- Phantom reads—Phantom reads are similar to nonrepeatable reads. These occur when a transaction (T1) reads several rows, and then a concurrent transaction (T2) inserts rows. Upon subsequent queries, the first transaction (T1) finds additional rows that were not there before.

Is This Answer Correct ?    29 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of resultset?

897


What are the conditions applies to varchar variable, when using in procedures?

2086


What is jdbc odbc connection?

924


Is jdbc an api?

1029


How can you create jdbc statements?

912


What are database warnings in jdbc and how can we handle database warnings in jdbc?

946


What is com mysql jdbc driver?

877


What is database deadlock ?

1070


What types of DataSource objects are specified in the Optional Package?

953


How does JDBC API helps us in achieving loose coupling between Java Program and JDBC Drivers API?

1022


How do I find ojdbc jar version?

881


Which is better jpa or jdbc?

868


What is jsp and jdbc?

856


How to test jdbc connection to sql server?

960


What are the steps required to execute a query in jdbc?

887