R2dbcSession

akka.persistence.r2dbc.session.javadsl.R2dbcSession$
See theR2dbcSession companion class
@ApiMayChange

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def withSession[A](system: ActorSystem[_], fun: Function[R2dbcSession, CompletionStage[A]]): CompletionStage[A]

Runs the passed function in using a R2dbcSession with a new transaction. The connection is closed and the transaction is committed at the end or rolled back in case of failures.

Runs the passed function in using a R2dbcSession with a new transaction. The connection is closed and the transaction is committed at the end or rolled back in case of failures.

Attributes

def withSession[A](system: ActorSystem[_], connectionFactoryConfigPath: String, fun: Function[R2dbcSession, CompletionStage[A]]): CompletionStage[A]