Closed yuxh closed 9 years ago
"The default for EJB is @TransactionAttributeType.MANDATORY, which creates a transaction if one is not already in flight." I checked javeee6 ,it means"If there is no existing transaction, an exception is thrown. "
Hmmm... Actually the default is REQUIRED, which creates a transaction if there is none yet.
yes,it seems I checked the wrong part :),thank you .
"The default for EJB is @TransactionAttributeType.MANDATORY, which creates a transaction if one is not already in flight." I checked javeee6 ,it means"If there is no existing transaction, an exception is thrown. "