Closed
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