nee-jdbc / pl.setblack.nee.effects.jdbc / JDBCConnection

JDBCConnection

class JDBCConnection : TxConnection<Connection>, Logging

Standard jdbc connection.

Constructors

<init>

Standard jdbc connection.

JDBCConnection(connection: Connection, close: Boolean = false)

Functions

begin

fun begin(): Either<TxError, TxStarted<Connection>>

close

fun close(): Unit

continueTx

fun continueTx(): Either<TxError, TxStarted<Connection>>

getResource

fun getResource(): Connection

hasTransaction

fun hasTransaction(): Boolean