0 votes
26 views
in Technology by (230k points)

Which are the attributes of Container Managed Transactions?

1 Answer

0 votes
by (230k points)
EJB 3.0 has specified following attributes of transactions which EJB containers implement:

REQUIRED - Indicates that business method has to be executed within transaction otherwise a new transaction will be started for that method.

REQUIRES_NEW - Indicates that a new transaction is to be started for the business method.

SUPPORTS - Indicates that business method will execute as part of transaction.

NOT_SUPPORTED - Indicates that business method should not be executed as part of transaction.

MANDATORY - Indicates that business method will execute as part of transaction otherwise exception will be thrown.

NEVER - Indicates if business method executes as part of transaction then an exception will be thrown.

Related questions

0 votes
1 answer 33 views
0 votes
1 answer 21 views
0 votes
1 answer 14 views
0 votes
1 answer 17 views
asked Nov 7, 2020 in Technology by JackTerrance (230k points)
0 votes
1 answer 31 views
asked Nov 7, 2020 in Technology by JackTerrance (230k points)
0 votes
1 answer 51 views
0 votes
1 answer 24 views
asked Nov 7, 2020 in Technology by JackTerrance (230k points)
+1 vote
1 answer 25 views
0 votes
1 answer 46 views
0 votes
1 answer 54 views
0 votes
1 answer 14 views
0 votes
1 answer 25 views
0 votes
1 answer 28 views
0 votes
1 answer 147 views
0 votes
1 answer 23 views
0 votes
1 answer 40 views
0 votes
1 answer 35 views
0 votes
1 answer 60 views
0 votes
1 answer 66 views
...