BaseSession

slick.jdbc.JdbcBackend.BaseSession
class BaseSession(val database: Database) extends JdbcSessionDef

Attributes

Source:
JdbcBackend.scala
Graph
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def close(): Unit

Close this Session.

Close this Session.

Attributes

Source:
JdbcBackend.scala
def getTransactionality: (Int, Boolean)

Attributes

Source:
JdbcBackend.scala
def isInTransaction: Boolean

Attributes

Source:
JdbcBackend.scala

Inherited methods

final def createStatement(defaultType: ResultSetType, defaultConcurrency: ResultSetConcurrency, defaultHoldability: ResultSetHoldability): Statement

Attributes

Inherited from:
JdbcSessionDef
Source:
JdbcBackend.scala
def decorateStatement[S <: Statement](statement: S): S

Attributes

Inherited from:
JdbcSessionDef
Source:
JdbcBackend.scala
def fetchSize: Int

Attributes

Inherited from:
JdbcSessionDef
Source:
JdbcBackend.scala
def force(): Unit

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.

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.

Attributes

Inherited from:
JdbcSessionDef
Source:
JdbcBackend.scala
protected def loggingPreparedStatement(st: PreparedStatement): PreparedStatement

Attributes

Inherited from:
JdbcSessionDef
Source:
JdbcBackend.scala
protected def loggingStatement(st: Statement): Statement

Attributes

Inherited from:
JdbcSessionDef
Source:
JdbcBackend.scala
final def prepareInsertStatement(sql: String, columnIndexes: Array[Int]): PreparedStatement

Attributes

Inherited from:
JdbcSessionDef
Source:
JdbcBackend.scala
final def prepareInsertStatement(sql: String, columnNames: Array[String]): PreparedStatement

Attributes

Inherited from:
JdbcSessionDef
Source:
JdbcBackend.scala
final def prepareStatement(sql: String, defaultType: ResultSetType, defaultConcurrency: ResultSetConcurrency, defaultHoldability: ResultSetHoldability, fetchSizeOverride: Option[Int]): PreparedStatement

Attributes

Inherited from:
JdbcSessionDef
Source:
JdbcBackend.scala

Attributes

Inherited from:
JdbcSessionDef
Source:
JdbcBackend.scala
final def withPreparedInsertStatement[T](sql: String, columnIndexes: Array[Int])(f: PreparedStatement => T): T

A wrapper around the JDBC Connection's prepareInsertStatement method, that automatically closes the statement.

A wrapper around the JDBC Connection's prepareInsertStatement method, that automatically closes the statement.

Attributes

Inherited from:
JdbcSessionDef
Source:
JdbcBackend.scala
final def withPreparedInsertStatement[T](sql: String, columnNames: Array[String])(f: PreparedStatement => T): T

A wrapper around the JDBC Connection's prepareInsertStatement method, that automatically closes the statement.

A wrapper around the JDBC Connection's prepareInsertStatement method, that automatically closes the statement.

Attributes

Inherited from:
JdbcSessionDef
Source:
JdbcBackend.scala
final def withPreparedStatement[T](sql: String, defaultType: ResultSetType, defaultConcurrency: ResultSetConcurrency, defaultHoldability: ResultSetHoldability)(f: PreparedStatement => T): T

A wrapper around the JDBC Connection's prepareStatement method, that automatically closes the statement.

A wrapper around the JDBC Connection's prepareStatement method, that automatically closes the statement.

Attributes

Inherited from:
JdbcSessionDef
Source:
JdbcBackend.scala
final def withStatement[T](defaultType: ResultSetType, defaultConcurrency: ResultSetConcurrency, defaultHoldability: ResultSetHoldability)(f: Statement => T): T

A wrapper around the JDBC Connection's createStatement method, that automatically closes the statement.

A wrapper around the JDBC Connection's createStatement method, that automatically closes the statement.

Attributes

Inherited from:
JdbcSessionDef
Source:
JdbcBackend.scala

Concrete fields

val conn: Connection

Attributes

Source:
JdbcBackend.scala

Attributes

Source:
JdbcBackend.scala
lazy val metaData: DatabaseMetaData

Attributes

Source:
JdbcBackend.scala