Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

ActiveObjects and transactions

Dmitrii Apanasevich
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 10, 2015

Hi.

Documentation says:

Please note, JIRA currently does not support transactions for Active Objects (as of JIRA 6.0).

https://developer.atlassian.com/docs/atlassian-platform-common-components/active-objects/getting-started-with-active-objects#GettingStartedwithActiveObjects-Step9.CreateanAOinteractionwithinaTransaction

Is there any other way to use transaction with ActiveObjects except of using @Transactional annotation or executeInTransaction method ? I see getProvider().startTransaction() and other methods in EntityManager class. May be they can be helpful to create and manage transaction?

Or if I need transactions in compound operations I should use JDBC statements instead of AO entity's methods?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Dmitrii Apanasevich
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 13, 2015

Maybe someone has experience with implementing transactions with AO?

TAGS
AUG Leaders

Atlassian Community Events