Defect #514
closed
Transaction - noRollbackOn
Added by Vít Švanda over 7 years ago.
Updated over 5 years ago.
Description
Using annotation @Transactional(noRollbackFor=ProvisioningException.class) is problematic in case, when is call some other service with method marked with @Transactional.
In this case will exception (thorwed in this method) marks transaction as TO ROLLBACK.
- Target version changed from Diamond (7.4.0) to Emerald (7.5.0)
- Target version deleted (
Emerald (7.5.0))
- Has duplicate Defect #804: Error in connector or in script is swallow added
- Related to Task #1588: Entity events - transactions added
- Status changed from New to In Progress
- Target version set to Quartz (9.6.0)
- % Done changed from 0 to 70
- Status changed from In Progress to Needs feedback
- Assignee changed from Radek Tomiška to Vít Švanda
- % Done changed from 70 to 90
- Status changed from Needs feedback to Resolved
- Assignee changed from Vít Švanda to Radek Tomiška
- % Done changed from 90 to 100
I tested it. I tried to many test cause (included exceptions in provisioning, realization of the request ...). Everything works fine. Propagate.NOT_SUPPORTED is new feature for me, but it is interesting approach.
Thanks for that.
- Status changed from Resolved to Closed
Also available in: Atom
PDF