下面关于Hibernate中Transaction的使用说法正确的是()A、Transaction是可有可无的B、Transaction在做查询的时候是可有可无的C、Transaction在做修改的时候是可有可无的D、Transaction在做修改的时候是必须的
下面关于Hibernate中Transaction的使用说法正确的是()
- A、Transaction是可有可无的
- B、Transaction在做查询的时候是可有可无的
- C、Transaction在做修改的时候是可有可无的
- D、Transaction在做修改的时候是必须的
相关考题:
开始事务,提交事务,回滚事务的英语单词分别是:A.begin transaction , rollback transaction , commit transactionB.commit transaction , rollback transaction , begin transactionC.rollback transaction , begin transaction , commit transactionD.begin transaction , commit transaction , rollback transaction
Which method would you use to undo the changes made by a particular transaction without affecting the changes made by other transactions?() A. point-in-time recoveryB. execute the ROLLBACK command with transaction numberC. flashback the database to before the transaction was committedD. determine all the necessary undo SQL statements from FLASHBACK_TRANSACTION_QUERY and use them for recovery
哪个消息是MGC发给MG的心跳消息?() A、!/1[192.168.6.71]:2944Transaction=20{Context=-{AuditValue=ROOT{Audit{}}}}B、!/1[192.168.6.71]:2944Transaction=5{Context=-{Auditcapability=A0{Audit{Media,packages}}}}C、!/1[191.2.6.213]:2944Transaction=275{Context=-{Notify=ROOT{ObservedEvents=0{19700101T01153516:it/ito}}}}D、!/1[192.168.1.119]:2944Transaction=2050{Context=-{AuditValue=ROOT{Audit{Package s}}}}
WhichtwostatementsregardingtheFLASHBACK_TRANSACTION_QUERYviewarecorrect?() A.YoucanfindinformationaboutonlyactivetransactionsfromtheviewB.YoucanfindinformationaboutreadonlytransactionsfromtheviewC.YourequiretheSELECTANYTRANSACTIONsystemprivilegetoaccesstheviewD.YoucanfindinformationaboutbothactiveandcommittedtransactionsfromtheviewE.YourequiretheSELECTONFLASHBACK_TRANSACTION_QUERYobjectprivilegetoaccesstheview
用于提交和回滚事务的语句为( )。A.END TRANSACTION和ROLLBACK TRANSACTIONB.COMMIT TRANSACTION和ROLLBACK TRANSACTIONC.SAVE TRANSACTION和ROLLUP TRANSACTIOND.COMMIT TRANSACTION和ROLLUP TRANSACTION
在Hibernate中,下列关于Transaction说法正确的有()A、事务Transaction为应用程序指定以原子操作单元为范围的对象B、在对数据库进行增加、修改和删除操作时一定要加上TransactionC、在对数据库进行查询操作时一定要加上TransactionD、获得Transaction的方法:Transaction tr = session.beginTransaction();
V5.x系统中,手工清除Sybase中zxcms数据库日志的SQL语句是()A、dump transaction zxcms with no_logB、dump transaction zxcms with nologC、dump transaction zxcms with no-logD、drop transaction zxcms with nolog
下面关于Hibernate中Transaction的使用说法正确的是()。A、Transaction是可有可无的B、Transaction在做查询的时候是可选的C、Transaction在做删除的时候是可选的D、Transaction在做修改的时候是可选的
下面语句中,能够正确的进入数据库事务的是:()A、@transaction.non_atomic_requestsB、@transaction.atomicC、withtransaction.atomic():D、withtransaction.non_atomic_requests():
By using the transaction identifier provided by()for a particular row change, you can use the Flashback Transaction Query to see the operation performed by the transaction. A、 Flashback TableB、 Flashback DatabaseC、 Flashback Version QueryD、 The RMAN REPORT commandE、 The DBA_PENDING_TRANSACTIONS view
Which of the following describes how a distributed resumable transaction behaves?() A、 The resumable setting on the initiating session determines the resumable conditions for the entire distributed transaction.B、 The resumable setting for the initiating instance determines the resumable conditions for the entire distributed transaction.C、 The resumable setting on the initiating session controls only that part of the transaction that occurs within the local instance; remote resumable settings determine the behavior of the distributed parts of the transaction.D、 None of the above.
The session of user SCOTT receives the following error after executing an UPDATE command onthe EMP table: ERROR at line 1: ORA-00060: deadlock detected while waiting for resource On investigation, you find that a session opened by user JIM has a transaction that caused the deadlock. two statements are true regarding the session of SCOTT in this scenario()A、The session is terminated after receiving the error and JIM can continue with his transaction.B、SCOTT should perform a COMMIT or ROLLBACK to allow JIM to continue with his transaction.C、The session is rolled back after receiving the error and JIM can continue with his transaction.D、SCOTT has to reexecute the last command in the transaction after he commits the transaction.
View the following SQL statements: Transaction T1 INSERT INTO hr.regions VALUES (5,’Pole’);COMMIT; Transaction T2 UPDATE hr.regions SET region_name=’Poles’ WHERE region_id = 5; COMMIT; Transaction T3 UPDATE hr.regions SET region_name=’North and South Poles’ WHERE region_id = 5; You want to back out transaction T2. Which option would you use?()A、 It is possible,but transaction T3 also backs out.B、 It is possible with the NOCASCADE_FORCE option.C、 It is possible with the NONCONFLICT_ONLY option.D、 It is not possible because it has conflicts with transaction T3.
Which method would you use to undo the changes made by a particular transaction without affecting the changes made by other transactions?()A、point-in-time recoveryB、execute the ROLLBACK command with transaction numberC、flashback the database to before the transaction was committedD、determine all the necessary undo SQL statements from FLASHBACK_TRANSACTION_QUERY and use them for recovery
You work as a database administrator for Certkiller .com. In the middle of a transaction, a user session was abnormally terminated but the instance is still up and the database is open. Which two statements are true in this scenario?()A、Event Viewer gives more details on the failure.B、The alert log file gives detailed information about the failure.C、PMON rolls back the transaction and releases the locks.D、SMON rolls back the transaction and releases the locks.E、The transaction is rolled back by the next session that refers to any of the blocks updates by the failed transaction.F、Data modified by the transaction up to the last commit before the abnormal termination is retained in the database.
In WebLogic 10.3.6 and 12c, transaction logs can optionally write to a JDBC store instead of a file store on the file system. Identify the three benefits as a result of this capability.() A、simplified disaster recovery architecture and effortsB、better performance than writing logs to a file storeC、common storage of transaction logs with application dataD、common replication of transaction logs with application dataE、higher transaction throughput
多选题The session of user SCOTT receives the following error after executing an UPDATE command onthe EMP table: ERROR at line 1: ORA-00060: deadlock detected while waiting for resource On investigation, you find that a session opened by user JIM has a transaction that caused the deadlock. two statements are true regarding the session of SCOTT in this scenario()AThe session is terminated after receiving the error and JIM can continue with his transaction.BSCOTT should perform a COMMIT or ROLLBACK to allow JIM to continue with his transaction.CThe session is rolled back after receiving the error and JIM can continue with his transaction.DSCOTT has to reexecute the last command in the transaction after he commits the transaction.
单选题By using the transaction identifier provided by()for a particular row change, you can use the Flashback Transaction Query to see the operation performed by the transaction.A Flashback TableB Flashback DatabaseC Flashback Version QueryD The RMAN REPORT commandE The DBA_PENDING_TRANSACTIONS view
多选题下面关于Hibernate中Transaction的使用说法正确的是()ATransaction是可有可无的BTransaction在做查询的时候是可有可无的CTransaction在做修改的时候是可有可无的DTransaction在做修改的时候是必须的
单选题By using the transaction identifier provided by () for a particular row change, you can use theFlashback Transaction Query to see the operation performed by the transaction.AFlashback TableBFlashback DatabaseCFlashback Versions QueryDthe RMAN REPORT commandEthe DBA_PENDING_TRANSACTIONS view
单选题Which method would you use to undo the changes made by a particular transaction without affecting the changes made by other transactions?()A point-in-time recoveryB execute the ROLLBACK command with transaction numberC flashback the database to before the transaction was committedD determine all the necessary undo SQL statements from FLASHBACK_TRANSACTION_QUERY and use them for recovery
单选题Which of the following describes how a distributed resumable transaction behaves?()A The resumable setting on the initiating session determines the resumable conditions for the entire distributed transaction.B The resumable setting for the initiating instance determines the resumable conditions for the entire distributed transaction.C The resumable setting on the initiating session controls only that part of the transaction that occurs within the local instance; remote resumable settings determine the behavior of the distributed parts of the transaction.D None of the above.
多选题You work as a database administrator for Certkiller .com. In the middle of a transaction, a user session was abnormally terminated but the instance is still up and the database is open. Which two statements are true in this scenario?()AEvent Viewer gives more details on the failure.BThe alert log file gives detailed information about the failure.CPMON rolls back the transaction and releases the locks.DSMON rolls back the transaction and releases the locks.EThe transaction is rolled back by the next session that refers to any of the blocks updates by the failed transaction.FData modified by the transaction up to the last commit before the abnormal termination is retained in the database.
多选题在Hibernate中,下列关于Transaction说法正确的有()A事务Transaction为应用程序指定以原子操作单元为范围的对象B在对数据库进行增加、修改和删除操作时一定要加上TransactionC在对数据库进行查询操作时一定要加上TransactionD获得Transaction的方法:Transaction tr = session.beginTransaction();
单选题下面关于Hibernate中Transaction的使用说法正确的是()。ATransaction是可有可无的BTransaction在做查询的时候是可选的CTransaction在做删除的时候是可选的DTransaction在做修改的时候是可选的