Fixed bug in Transaction.Local persistence management
This commit is contained in:
parent
b503e29260
commit
e414ec0e07
2 changed files with 2 additions and 2 deletions
|
|
@ -153,7 +153,7 @@ object Transaction {
|
|||
tx.transaction = Some(mtx)
|
||||
setTransaction(Some(tx))
|
||||
mtx.registerLifecycleListener(new TransactionLifecycleListener() {
|
||||
def notify(tx: MultiverseTransaction, event: TransactionLifecycleEvent) = event.name match {
|
||||
def notify(mtx: MultiverseTransaction, event: TransactionLifecycleEvent) = event.name match {
|
||||
case "postCommit" => tx.commit
|
||||
case "postAbort" => tx.abort
|
||||
case _ => {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue