TxBoundary

scalikejdbc.TxBoundary
See theTxBoundary companion object
trait TxBoundary[A]

This type class enable users to customize the behavior of transaction boundary(commit/rollback).

Attributes

Companion
object
Source
TxBoundary.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def finishTx(result: A, tx: Tx): A

Finishes the current transaction.

Finishes the current transaction.

Attributes

Source
TxBoundary.scala

Concrete methods

def closeConnection(result: A, doClose: () => Unit): A

Closes the current connection if needed.

Closes the current connection if needed.

Attributes

Source
TxBoundary.scala