-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Missing @Transactional
on SimpleJpaRepository.delete(spec)
#3499
Comments
gbrehmer
changed the title
Missing Transactional on
Missing Jun 5, 2024
delete(spec)
@Transactional
on SimpleJpaRepository.delete(spec)
spring-projects-issues
added
the
status: waiting-for-triage
An issue we've not yet triaged
label
Jun 5, 2024
That's an oversight on our end, the method should be marked |
mp911de
added
type: bug
A general bug
and removed
status: waiting-for-triage
An issue we've not yet triaged
labels
Jun 5, 2024
mp911de
added a commit
that referenced
this issue
Jun 5, 2024
Enusre same annotation order. See #3499
mp911de
added a commit
that referenced
this issue
Jun 5, 2024
Override readOnly to false. Closes #3499
mp911de
added a commit
that referenced
this issue
Jun 5, 2024
Enusre same annotation order. See #3499
mp911de
added a commit
that referenced
this issue
Jun 5, 2024
Override readOnly to false. Closes #3499
mp911de
added a commit
that referenced
this issue
Jun 5, 2024
Enusre same annotation order. See #3499
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a reason that this delete method variant has no predefined
@Transactional
marker?spring-data-jpa/spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/support/SimpleJpaRepository.java
Line 479 in 4387a31
Currently this breaks support (or needs additional boilerplate code) for the best practice of adding
@Transactional(readOnly=true)
at repository class levelThe text was updated successfully, but these errors were encountered: