Skip to content

Support 'readOnly' transactions from Spring Transactional Attributes#8

Open
willks wants to merge 2 commits intoops4j:masterfrom
willks:master
Open

Support 'readOnly' transactions from Spring Transactional Attributes#8
willks wants to merge 2 commits intoops4j:masterfrom
willks:master

Conversation

@willks
Copy link

@willks willks commented May 26, 2015

During development with this project, I noticed that new transactions were being opened/committed even if the operation was purely a read transaction. This small change ensures that readonly transactions don't actually open/commit any new transactions - leveraging the 'NoTX' transaction type.

William Keller added 2 commits May 25, 2015 13:50
…t like there is a running transaction except begin/commit/rollback actions will have no effect
…guard to ensure that resource exists before a cleanup is attempted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant