1.

Which object is created for read-only transaction?(a) Foo object(b) SQLTransactionSync(c) DatabaseSync object(d) SQLTransactionI had been asked this question during an online exam.My question is from Web Databases topic in division HTML Images & Web Page Files of HTML

Answer»

The correct answer is (B) SQLTransactionSync

To elaborate: For read-only transaction, we create the object SQLTransactionSync. If the first argument is NULL then we throw SQLEXCEPTION which is ERROR code 0. SQLTransactionSync object is FRESH initially but when it is marked as stale it is committed or ROLLED back.



Discussion

No Comment Found

Related InterviewSolutions