You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow using @Transactional() decorator with the entire class (apply to all methods). This decorator needs to have the same interface as the existing one. We also need a possibility to ignore some class methods (something like another decorator or additional option).
@Transactional({propagation: Propagation.REQUIRES_NEW})classPostsService{constructor(){// ...}// If we need to ignore we can use a new decorator @NonTransactional() // or using new option @Transactional({ ignore: true }) (?) think about itasyncgetPostById(){// ...}// If we use explicit`@Transactional() then we need to override options that were defined in class-level `@Transactional`
@Transactional({propagation: Propagation.NESTED})asyncupdatePost(){// ...}}
Of course, we need tests and documentation for these new features.
The text was updated successfully, but these errors were encountered:
Description
Allow using
@Transactional()
decorator with the entire class (apply to all methods). This decorator needs to have the same interface as the existing one. We also need a possibility to ignore some class methods (something like another decorator or additional option).Of course, we need tests and documentation for these new features.
The text was updated successfully, but these errors were encountered: