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
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
The text was updated successfully, but these errors were encountered:
The default timeout issue has been addressed at the transaction manager level. Rollback-for is specific to declarative transactions, i.e. the TransactionInterceptor, so we have to address it at that level instead...
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
The text was updated successfully, but these errors were encountered: