GeekInterview.com
Answered Questions

Which of the following allows phantom read in JDBC, connection class?

Asked By: Interview Candidate | Asked On: Dec 10th, 2005

A) transaction_read_uncommittedb) transaction_read_ committedc) transaction_serializabled) transaction_repeatable_read.Explanation: a phantom read is where one transaction reads all rows that satisfy a where condition, a second transaction inserts a row that satisfies that where condition, and the first...

Answered by: pradeepkmr18 on: Jul 3rd, 2008

These will allow phanthom read
Read_uncommited
Read_commited
Repeatable_read

Answered by: charankk on: May 2nd, 2008

Guys ...do not give any wrong answers,If you know very well then answer.

Here to avoid the phatom read ,we will go for TRANSATION_SERIALIZABLE ,Which blocks the records in row level .But this affects performance drastically .
Hence the answer is  "C "

Interview Question

 Ask Interview Question?

 

Career Counselling

 Have Career Question?

 Ask Chandra

 Ask Only Career questions.

Follow us: