forked from spring-projects/spring-data-jpa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ModifyingTransactionAspect for conditional transactional support. Description Introduced an aspect to handle methods annotated with @Modifying in Spring Data JPA. The aspect checks the transactional parameter in the annotation to decide whether to open a new transaction explicitly. Added logic to handle transaction management using PlatformTransactionManager. Includes support for both transactional and non-transactional method executions. Updated the class-level documentation to explain its purpose, usage, and dependencies. This improvement allows developers to gain fine-grained control over transactional behavior for @Modifying queries. References Related tickets: spring-projects#3733.
- Loading branch information
1 parent
edce922
commit fc5c7ff
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters