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


what is meant by Transaction Isolation Levels?

Answers were Sorted based on User's Feedback



what is meant by Transaction Isolation Levels?..

Answer / shraddha

Connection.setTransactionIsolation (level)

TRANSACTION_READ_UNCOMMITTED Allows dirty reads, non-
repeatable reads, and phantom reads to occur.

TRANSACTION_READ_COMMITTED Ensures only committed data
can be read.

TRANSACTION_REPEATABLE_READ Is close to
being "serializable," however, "phantom" reads are possible.

TRANSACTION_SERIALIZABLE Dirty reads, non-repeatable
reads, and phantom reads are prevented. Serializable.


A "phantom" read occurs when one transaction reads all rows
that satisfy a WHERE condition, and a second transaction
inserts a row that satisfies that WHERE condition, the
first transaction then rereads for the same condition,
retrieving the additional "phantom" row in the second read.

In addition, JDBC defines an additional constant,
TRANSACTION_NONE, which is used to indicate that the driver
does not support transactions.

Is This Answer Correct ?    2 Yes 1 No

what is meant by Transaction Isolation Levels?..

Answer / arghya

To avoid potential conflicts that can arise when two transaction are operating on a database at the same time, we use some transaction isolation level using conn.setTransactionIsolation().

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Servlets Interview Questions

what is the difference between do get/dopost

9 Answers  


When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?

0 Answers  


What are all the advantages of servlet over cgi?

0 Answers  


What are the exceptions thrown by Servlets?

4 Answers   Amplify Mindware,


Which exception is thrown if the servlet is not initialized properly?

0 Answers  


How can we perform any action at the time of deploying the project?

0 Answers  


Explain the differences between jsp and servlet.

0 Answers  


What is meant by session? Tell me something about httpsession class?

0 Answers  


What is the difference between Difference between doGet() and doPost()?

0 Answers  


What are the types of protocols supported by httpservlet ?

0 Answers  


What are some disadvantages of storing session state in cookies?

0 Answers  


When to use doget() and when dopost()?

0 Answers  


Categories