Packages

class SessionDef extends HeapBackend.SessionDef

Source
HeapBackend.scala
Linear Supertypes
HeapBackend.SessionDef, Closeable, AutoCloseable, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SessionDef
  2. SessionDef
  3. Closeable
  4. AutoCloseable
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SessionDef(database: Database)

Value Members

  1. def close(): Unit

    Close this Session.

    Close this Session.

    Definition Classes
    SessionDefSessionDef → Closeable → AutoCloseable
  2. val database: Database
  3. def force(): Unit

    Force an actual database session to be opened.

    Force an actual database session to be opened. Slick sessions are lazy, so you do not get a real database connection until you need it or you call force() on the session.

    Definition Classes
    SessionDefSessionDef
  4. def rollback(): Nothing
  5. def withTransaction[T](f: => T): Nothing