adplus-dvertising
frame-decoration

Question

A TransactionTemplate can accept a transaction callback object that implements:-

a.

TransactionCallback

b.

TransactionCallbackWithoutResult class

c.

All of the mentioned

d.

None of the mentioned

Posted under Java Spring Framework

Answer: (c).All of the mentioned

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. A TransactionTemplate can accept a transaction callback object that implements:-

Similar Questions

Discover Related MCQs

Q. Spring (since version 2.0) offers a transaction advice that can be easily configured via the:-

Q. You can omit the transaction-manager attribute in the element if your transaction manager has the name transactionManager.

Q. A transaction propagation behavior can be specified by the:-

Q. Transaction propagation behavior are defined in the:-

Q. If there’s an existing transaction in progress, the current method should run within this transaction.

Q. The current method must start a new transaction and run within its own transaction.

Q. If there’s an existing transaction in progress, the current method can run within this transaction.

Q. The current method should not run within a transaction.

Q. The current method must run within a transaction.

Q. The current method should not run within a transaction. If there’s an existing transaction in progress, an exception will be thrown.

Q. If there’s an existing transaction in progress, the current method should run within the nested transaction.

Q. For two transactions T1 and T2, T1 reads a field that has been updated by T2 but not yet committed.

Q. For two transactions T1 and T2, T1 reads a field and then T2 updates the field.

Q. For two transactions T1 and T2, T1 reads some rows from a table and then T2 inserts new rows into the table.

Q. For two transactions T1 and T2, they both select a row for update, and based on the state of that row, make an update to it.

Q. Isolation Levels Supported by Spring:-

Q. The exceptions that cause a transaction to roll back or not can be specified by attribute:-

Q. Key technology in developing distributed applications, especially multi-tier enterprise applications.

Q. Java-based remoting technology that allows two Java applications running in different JVMs to communicate with each other.

Q. To expose a service through RMI, you have to create the service interface that extends:-