Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #314: Unify @Transactional annotations #316

Merged
merged 1 commit into from
Aug 22, 2022

Conversation

banterCZ
Copy link
Member

Use org.springframework.transaction.annotation.Transactional instead of javax.transaction.Transactional.

Use org.springframework.transaction.annotation.Transactional instead of javax.transaction.Transactional
@banterCZ banterCZ requested a review from romanstrobl August 22, 2022 08:15
Copy link
Member

@romanstrobl romanstrobl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a step in right direction. The issue #314 also suggests to consider using propagation = Propagation.REQUIRES_NEW wherever applicable. Do we want to do this in a separate pull request or this one?

@banterCZ
Copy link
Member Author

This is a step in right direction. The issue #314 also suggests to consider using propagation = Propagation.REQUIRES_NEW wherever applicable. Do we want to do this in a separate pull request or this one?

Let's keep it for another PR. IMHO usage of REQUIRES_NEW should be limited to very special use-cases where really needed. I would rather remove this declaration that add it.

@banterCZ banterCZ merged commit ef88cc6 into develop Aug 22, 2022
@banterCZ banterCZ deleted the issues/314-transactional-annotation branch August 22, 2022 10:57
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.

2 participants