Panache

object Panache

Properties

Link copied to clipboard
val session: ClientSession

Access the current MongoDB ClientSession from the transaction context. Can be used inside a method annotated with @Transactional to manually access the client session.

Functions

Link copied to clipboard
fun getSession(entityClass: Class<*>?): ClientSession

Access the current MongoDB ClientSession from the transaction context.