public interface TxFactory
Modifier and Type | Method and Description |
---|---|
Tx |
tx()
Return a new autoclosable transaction handler.
|
Tx tx()
{ @code try(Tx tx = db.tx()) { // interact with graph db here } }
Copyright © 2017 Syncleus. All rights reserved.