adspace


What are the attributes of transaction in ejb?

Answer Posted / Umesh

{"attributes": "In EJB, transactions can be configured using TransactionAttribute annotation. Some common attributes include: Required (indicates that a transaction is necessary), RequiredNew (indicates that a new transaction should be started for each method invocation), RequiredNew or Required (indicates that if a transaction already exists, it will be joined; otherwise, a new one will be started), NotSupported (indicates that the container will not start a new transaction but will participate in any existing transaction), Mandatory (indicates that a transaction is necessary and must exist when the method is invoked), Never (indicates that the method should never be executed within a transaction))"}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

No New Questions to Answer in this Category !!    You can

Post New Questions

Answer Questions in Different Category