JdbcSessionDef

slick.jdbc.JdbcBackend.JdbcSessionDef

Attributes

Source:
JdbcBackend.scala
Graph
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes
Self type

Members list

Concise view

Value members

Abstract methods

def close(): Unit

Close this Session.

Close this Session.

Attributes

Source:
JdbcBackend.scala
def conn: Connection

Attributes

Source:
JdbcBackend.scala

Attributes

Source:
JdbcBackend.scala
def metaData: DatabaseMetaData

Attributes

Source:
JdbcBackend.scala

Concrete methods

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

Attributes

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

Attributes

Source:
JdbcBackend.scala
def fetchSize: Int

Attributes

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

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

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

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

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

Source:
JdbcBackend.scala