Skip to content

Pre-allocate NoTransactionException in TransactionContextManager #23360

Closed
@mp911de

Description

@mp911de

NoTransactionException should be pre-allocated in org.springframework.transaction.reactive.TransactionContextManager to prevent expensive exception creation when calling TransactionContextManager.currentContext(). Ideally, this exception captures no stack trace, that is irrelevant in the context of reactive flows.

/cc @simonbasle @bsideup

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