Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.
Which of the following allows phantom read in JDBC, connection class?
B) TRANSACTION_READ_ COMMITTED
C) TRANSACTION_SERIALIZABLE
D) 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 transaction re-reads for the same condition, retrieving the additional 'phantom' row in the second read
Related Answered Questions
Related Open Questions