manage transactions for db operations
Issue #17
resolved
The problem is you're not managing transactions in your plugin at all That means your operations can "join" in-flight transactions, which may or may not be read-only, when you didn't intend for them to.
In atlassian-plugin.xml you need to add <osgi:reference id="transactionTemplate" interface="com.atlassian.sal.api.transaction.TransactionTemplate"/> Then you can inject that into your CoverageManager
Than all of your methods that use the CoverageDao need to use a transaction
Comments (2)
-
reporter -
reporter - changed status to resolved
- Log in to comment
Initial support issue https://getsupport.atlassian.com/browse/SSP-27817