READ Free Dumps For Oracle- 1z0-898
Question ID 4590 | Persistence application locks entity x with a LockModeType. PESSIMISTIC_READ lock type, which statement is true? |
Option A | A. This operation will force serialization among transactions attempting to read the entity data. |
Option B | B. This operation will result in a TransactionRolledbackException if the lock cannot be obtained. |
Option C | C. If the application later updates the entity, and the changes are flushed to the database, the lock will be converted to an exclusive lock. |
Option D | D. LockModeType. PESSIMISTIC_READ is the synonym of the LockModeType.READ. |
Correct Answer | C |
Question ID 4591 | A user entity is retrieved in a query and stored in an instance variable user. The user entity has a single valued name property that uses the mapping defaults, and a photo property, which is lazily loaded. The application then calls the following method: |
Option A | A. The name property was loaded from the database. |
Option B | B. The name property was NOT be loaded from the database. |
Option C | C. The name property may or may not have been loaded from the database. |
Option D | D. The photo property was loaded from the database. |
Option E | E. The photo property was NOT loaded from the database. |
Option F | F. The photo property may or may not have been loaded from the database. |
Correct Answer | A,F |