SessionProvider
Decides which session an operation runs on. Queries, builders and plans run through execute and never obtain a session themselves, so the same code runs on a pool or under a transaction manager that owns the connection. DefaultSessionProvider binds the session to the thread.
Inheritors
Functions
Link copied to clipboard
Runs action on the session for the current context: the transaction's inside a transaction, the enclosing call's inside another execute, and otherwise one obtained for this call alone, whose statements commit as they go. An implementation is expected to share the session across nested calls.
Link copied to clipboard