-
Which object is created for read-only transaction?
-
- SQLTransaction
- Foo object
- SQLTransactionSync
- DatabaseSync object
- None of these
Correct Option: C
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.