-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
in: dataIssues in data modules (jdbc, orm, oxm, tx)Issues in data modules (jdbc, orm, oxm, tx)status: feedback-providedFeedback has been providedFeedback has been providedtype: enhancementA general enhancementA general enhancement
Milestone
Description
I am working currently on implementing reactive Transactions with our new Neo4j reactive driver and need to access the reactive transaction synchronisation manager through
...reactive.TransactionSynchronizationManager#currentTransaction
The JavaDoc says "…Return the TransactionSynchronizationManager of the current transaction…"
I understand that TransactionSynchronizationManager
is merely a wrapper around the TransactionContext
.
Neither the manager nor the context are the transaction itself and therefor I think that the currentTransaction()
would benefit from another name, like current TransactionSynchronizationManager()
or currentTransactionContext()
; it's intentions would be clearer.
cc @mp911de
Metadata
Metadata
Assignees
Labels
in: dataIssues in data modules (jdbc, orm, oxm, tx)Issues in data modules (jdbc, orm, oxm, tx)status: feedback-providedFeedback has been providedFeedback has been providedtype: enhancementA general enhancementA general enhancement