Skip to content

Enable custom default value for @Transactional's rollbackFor argument [SPR-3027] #7713

Closed
@spring-projects-issues

Description

@spring-projects-issues

Christoph Hilmes opened SPR-3027 and commented

Just resently there was an issue about setting a default value for the timeout-argument of the @Transactional-Annotation. I´m sorry to bring up this issue again, but for me it would be nice if i could set a default value for the rollbackFor argument. At the moment i have to set this argument to my custom exceptions for every class which is a little bit cumbersome. Maybe you can do the same thing as for "timeout" once again for this argument!? Thanks.


Affects: 2.0.1

3 votes, 3 watchers

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions