slick.jdbc

package slick.jdbc

Contains the abstract JdbcProfile and related code. This includes all JDBC-related code, facilities for Plain SQL queries, and JDBC-specific profile components.

Attributes

Members list

Packages

package slick.jdbc.meta

Type members

Classlikes

final class ActionBasedSQLInterpolation(val s: StringContext) extends AnyVal

Attributes

Source
StaticQuery.scala
Supertypes
class AnyVal
trait Matchable
class Any
class BaseResultConverter[T](val jdbcType: JdbcType[T], val columnName: String, val index: Int) extends ResultConverter[ResultSet, PreparedStatement, ResultSet, T]

Specialized JDBC ResultConverter for non-Option values.

Specialized JDBC ResultConverter for non-Option values.

Attributes

Source
JdbcResultConverter.scala
Supertypes
trait ResultConverter[ResultSet, PreparedStatement, ResultSet, T]
trait Dumpable
class Object
trait Matchable
class Any
class ConnectionPreparer(c: Config) extends Connection => Unit

Set parameters on a new Connection. This is used by DataSourceJdbcDataSource.

Set parameters on a new Connection. This is used by DataSourceJdbcDataSource.

Attributes

Source
JdbcDataSource.scala
Supertypes
trait Connection => Unit
class Object
trait Matchable
class Any

Slick profile for IBM DB2 UDB.

Slick profile for IBM DB2 UDB.

This profile implements slick.jdbc.JdbcProfile ''without'' the following capabilities:

Note: The DB2 JDBC driver has problems with quoted identifiers. Columns which are returned from inserts must not require quoted names (in particular, they must not contain lower-case characters or be equal to a reserved word), otherwise a bug in the DB2 JDBC driver triggers a SQL Error -206 (SQLState 42703).

Attributes

Companion
object
Source
DB2Profile.scala
Supertypes
Known subtypes
object DB2Profile.type
class DataSourceJdbcDataSource(val ds: DataSource, val keepAliveConnection: Boolean, val maxConnections: Option[Int], val connectionPreparer: ConnectionPreparer) extends JdbcDataSource

A JdbcDataSource for a DataSource

A JdbcDataSource for a DataSource

Attributes

Companion
object
Source
JdbcDataSource.scala
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
JdbcDataSource.scala
Supertypes
class Object
trait Matchable
class Any
Self type

A DataSource that wraps the DriverManager API. It can be configured as a Java Bean and used both stand-alone and as a source for a connection pool. This implementation is design specifically to handle a non-JDBC Database URL in the format defined by the libpq standard.

A DataSource that wraps the DriverManager API. It can be configured as a Java Bean and used both stand-alone and as a source for a connection pool. This implementation is design specifically to handle a non-JDBC Database URL in the format defined by the libpq standard.

Attributes

Source
DatabaseUrlDataSource.scala
Supertypes
trait Logging
trait Closeable
trait AutoCloseable
trait DataSource
trait Wrapper
trait CommonDataSource
class Object
trait Matchable
class Any
Show all
class DefaultingResultConverter[T](val ti: JdbcType[T], val computeDefault: () => T, val index: Int) extends ResultConverter[ResultSet, PreparedStatement, ResultSet, T]

Specialized JDBC ResultConverter for handling non-Option values with a default. A (possibly specialized) function for the default value is used to translate SQL NULL values.

Specialized JDBC ResultConverter for handling non-Option values with a default. A (possibly specialized) function for the default value is used to translate SQL NULL values.

Attributes

Source
JdbcResultConverter.scala
Supertypes
trait ResultConverter[ResultSet, PreparedStatement, ResultSet, T]
trait Dumpable
class Object
trait Matchable
class Any

Slick profile for Derby/JavaDB.

Slick profile for Derby/JavaDB.

This profile implements slick.jdbc.JdbcProfile ''without'' the following capabilities:

Attributes

Companion
object
Source
DerbyProfile.scala
Supertypes
Known subtypes
object DerbyProfile.type
class DriverDataSource(var url: String, var user: String, var password: String, var properties: Properties, var driverClassName: String, var deregisterDriver: Boolean, var driverObject: Driver, var classLoader: ClassLoader) extends DataSource, Closeable, Logging

A DataSource that wraps the DriverManager API. It can be configured as a Java Bean and used both stand-alone and as a source for a connection pool.

A DataSource that wraps the DriverManager API. It can be configured as a Java Bean and used both stand-alone and as a source for a connection pool.

Attributes

Source
DriverDataSource.scala
Supertypes
trait Logging
trait Closeable
trait AutoCloseable
trait DataSource
trait Wrapper
trait CommonDataSource
class Object
trait Matchable
class Any
Show all
Known subtypes
trait GetResult[+T] extends PositionedResult => T

Basic conversions for extracting values from PositionedResults.

Basic conversions for extracting values from PositionedResults.

Attributes

Companion
object
Source
GetResult.scala
Supertypes
trait PositionedResult => T
class Object
trait Matchable
class Any
Known subtypes
object GetBigDecimal.type
object GetBigDecimalOption.type
object GetBoolean.type
object GetBooleanOption.type
object GetByte.type
object GetByteOption.type
object GetDate.type
object GetDateOption.type
object GetDouble.type
object GetDoubleOption.type
object GetFloat.type
object GetFloatOption.type
object GetInt.type
object GetIntOption.type
object GetLong.type
object GetLongOption.type
object GetShort.type
object GetShortOption.type
object GetString.type
object GetStringOption.type
object GetTime.type
object GetTimeOption.type
object GetTimestamp.type
object GetTimestampOption.type
class GetTupleResult[T]
Show all
Self type
object GetResult

Attributes

Companion
trait
Source
GetResult.scala
Supertypes
class Object
trait Matchable
class Any
Self type
GetResult.type
class GetTupleResult[+T <: Product](val children: GetResult[_]*) extends GetResult[T]

GetResult for tuple types.

GetResult for tuple types.

Attributes

Source
GetResult.scala
Supertypes
trait GetResult[T]
trait PositionedResult => T
class Object
trait Matchable
class Any

Slick profile for H2.

Slick profile for H2.

This profile implements slick.jdbc.JdbcProfile ''without'' the following capabilities:

Attributes

Companion
object
Source
H2Profile.scala
Supertypes
Known subtypes
object H2Profile.type

Slick profile for HyperSQL (starting with version 2.0).

Slick profile for HyperSQL (starting with version 2.0).

This profile implements the slick.jdbc.JdbcProfile ''without'' the following capabilities:

  • slick.sql.SqlCapabilities.sequenceCurr: Sequence.curr to get the current value of a sequence is not supported by Hsqldb. Trying to generate SQL code which uses this feature throws a SlickException.

  • slick.jdbc.JdbcCapabilities.insertOrUpdate: InsertOrUpdate operations are emulated on the client side if generated keys should be returned. Otherwise the operation is performed natively on the server side.

Attributes

Companion
object
Source
HsqldbProfile.scala
Supertypes
Known subtypes
object HsqldbProfile.type
class InsertBuilderResult(val table: TableNode, val sql: String, val fields: ConstArray[FieldSymbol])

Attributes

Source
JdbcStatementBuilderComponent.scala
Supertypes
class Object
trait Matchable
class Any
trait Invoker[+R]

Base trait for all statement invokers of result element type R.

Base trait for all statement invokers of result element type R.

Attributes

Source
Invoker.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ResultSetInvoker[R]
class StatementInvoker[R]
trait QueryInvoker[R]
class QueryInvokerImpl[R]
Self type
Invoker[R]
class IsDefinedResultConverter[T](val ti: JdbcType[T], val idx: Int) extends ResultConverter[ResultSet, PreparedStatement, ResultSet, Boolean]

Specialized JDBC ResultConverter for handling isDefined checks for Option values.

Specialized JDBC ResultConverter for handling isDefined checks for Option values.

Attributes

Source
JdbcResultConverter.scala
Supertypes
trait ResultConverter[ResultSet, PreparedStatement, ResultSet, Boolean]
trait Dumpable
class Object
trait Matchable
class Any

Attributes

Companion
object
Source
JdbcActionComponent.scala
Supertypes
class Object
trait Matchable
class Any
Show all
Known subtypes
trait DB2Profile
object DB2Profile.type
trait DerbyProfile
object DerbyProfile.type
trait H2Profile
object H2Profile.type
object HsqldbProfile.type
trait MySQLProfile
object MySQLProfile.type
object PostgresProfile.type
object SQLServerProfile.type
object SQLiteProfile.type
object OracleProfile.type
trait JdbcProfile
Show all
Self type

Attributes

Companion
trait
Source
JdbcActionComponent.scala
Supertypes
class Object
trait Matchable
class Any
Self type

A JDBC-based database back-end that is used by slick.jdbc.JdbcProfile.

A JDBC-based database back-end that is used by slick.jdbc.JdbcProfile.

Attributes

Companion
object
Source
JdbcBackend.scala
Supertypes
trait BasicBackend
class Object
trait Matchable
class Any
Known subtypes
object JdbcBackend.type
object JdbcBackend extends JdbcBackend

Attributes

Companion
trait
Source
JdbcBackend.scala
Supertypes
trait JdbcBackend
trait BasicBackend
class Object
trait Matchable
class Any
Show all
Self type

Capabilities for slick.jdbc.JdbcProfile.

Capabilities for slick.jdbc.JdbcProfile.

Attributes

Source
JdbcCapabilities.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait JdbcDataSource extends Closeable

A JdbcDataSource provides a way to create a Connection object for a database. It is similar to a javax.sql.DataSource but simpler. Unlike JdbcBackend.JdbcDatabaseDef it is not a part of the backend cake. This trait defines the SPI for 3rd-party connection pool support.

A JdbcDataSource provides a way to create a Connection object for a database. It is similar to a javax.sql.DataSource but simpler. Unlike JdbcBackend.JdbcDatabaseDef it is not a part of the backend cake. This trait defines the SPI for 3rd-party connection pool support.

Attributes

Companion
object
Source
JdbcDataSource.scala
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes
object JdbcDataSource extends Logging

Attributes

Companion
trait
Source
JdbcDataSource.scala
Supertypes
trait Logging
class Object
trait Matchable
class Any
Self type

Create a JdbcDataSource from a Config object and an optional JDBC Driver. This is used with the "connectionPool" configuration option in JdbcBackend.DatabaseFactoryDef.forConfig.

Create a JdbcDataSource from a Config object and an optional JDBC Driver. This is used with the "connectionPool" configuration option in JdbcBackend.DatabaseFactoryDef.forConfig.

Attributes

Source
JdbcDataSource.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Source
JdbcInvokerComponent.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait JdbcProfile
trait DB2Profile
object DB2Profile.type
trait DerbyProfile
object DerbyProfile.type
trait H2Profile
object H2Profile.type
object HsqldbProfile.type
trait MySQLProfile
object MySQLProfile.type
object OracleProfile.type
object PostgresProfile.type
object SQLServerProfile.type
object SQLiteProfile.type
Show all
Self type

JDBC profile component which contains the mapping compiler and insert compiler

JDBC profile component which contains the mapping compiler and insert compiler

Attributes

Source
JdbcMappingCompilerComponent.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait JdbcProfile
trait DB2Profile
object DB2Profile.type
trait DerbyProfile
object DerbyProfile.type
trait H2Profile
object H2Profile.type
object HsqldbProfile.type
trait MySQLProfile
object MySQLProfile.type
object OracleProfile.type
object PostgresProfile.type
object SQLServerProfile.type
object SQLiteProfile.type
Show all
Self type
class JdbcModelBuilder(mTables: Seq[MTable], ignoreInvalidDefaults: Boolean)(implicit ec: ExecutionContext) extends Logging

Build a Slick model from introspecting the JDBC metadata.

Build a Slick model from introspecting the JDBC metadata.

In most cases you are better off transforming the generated model instead of overriding functionality here. It is only useful if you need easy access to the JDBC metadata in order to influence how the model is generated. A good use case would be interpreting column types or default values that Slick doesn't understand out of the box. If you just want to remove or hard code some default values, transform the resulting model instead.

The tight coupling can easily lead to source code incompatibilities in future versions. Avoid hooking in here if you don't have to.

Value parameters

ignoreInvalidDefaults

see JdbcModelBuilder#ColumnBuilder#default

Attributes

Source
JdbcModelBuilder.scala
Supertypes
trait Logging
class Object
trait Matchable
class Any
Known subtypes

Attributes

Source
JdbcModelComponent.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait JdbcProfile
trait DB2Profile
object DB2Profile.type
trait DerbyProfile
object DerbyProfile.type
trait H2Profile
object H2Profile.type
object HsqldbProfile.type
trait MySQLProfile
object MySQLProfile.type
object OracleProfile.type
object PostgresProfile.type
object SQLServerProfile.type
object SQLiteProfile.type
Show all
Self type

Abstract profile for accessing SQL databases via JDBC.

Abstract profile for accessing SQL databases via JDBC.

Attributes

Source
JdbcProfile.scala
Supertypes
Known subtypes
trait DB2Profile
object DB2Profile.type
trait DerbyProfile
object DerbyProfile.type
trait H2Profile
object H2Profile.type
object HsqldbProfile.type
trait MySQLProfile
object MySQLProfile.type
object OracleProfile.type
object PostgresProfile.type
object SQLServerProfile.type
object SQLiteProfile.type
Show all

Attributes

Source
JdbcStatementBuilderComponent.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait JdbcProfile
trait DB2Profile
object DB2Profile.type
trait DerbyProfile
object DerbyProfile.type
trait H2Profile
object H2Profile.type
object HsqldbProfile.type
trait MySQLProfile
object MySQLProfile.type
object OracleProfile.type
object PostgresProfile.type
object SQLServerProfile.type
object SQLiteProfile.type
Show all
Self type
trait JdbcType[T] extends BaseTypedType[T]

A JdbcType object represents a Scala type that can be used as a column type in the database. Implicit JdbcTypes for the standard types are provided by the profile.

A JdbcType object represents a Scala type that can be used as a column type in the database. Implicit JdbcTypes for the standard types are provided by the profile.

Attributes

Source
JdbcType.scala
Supertypes
trait BaseTypedType[T]
trait AtomicType
trait TypedType[T]
trait Type
trait Dumpable
class Object
trait Matchable
class Any
Show all
Known subtypes
class DriverJdbcType[T]
class BlobJdbcType
class ByteJdbcType
class CharJdbcType
class ClobJdbcType
class DateJdbcType
class IntJdbcType
class LongJdbcType
class NullJdbcType
class TimeJdbcType
class UUIDJdbcType
class MappedJdbcType[T, U]
Show all
Self type

Attributes

Companion
object
Source
JdbcTypesComponent.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait JdbcProfile
trait DB2Profile
object DB2Profile.type
trait DerbyProfile
object DerbyProfile.type
trait H2Profile
object H2Profile.type
object HsqldbProfile.type
trait MySQLProfile
object MySQLProfile.type
object OracleProfile.type
object PostgresProfile.type
object SQLServerProfile.type
object SQLiteProfile.type
Show all
Self type

Attributes

Companion
trait
Source
JdbcTypesComponent.scala
Supertypes
class Object
trait Matchable
class Any
Self type
class LoggingPreparedStatement(st: PreparedStatement) extends LoggingStatement, PreparedStatement

A wrapper for java.sql.PreparedStatement that logs statements, parameters and benchmark results to the appropriate JdbcBackend loggers.

A wrapper for java.sql.PreparedStatement that logs statements, parameters and benchmark results to the appropriate JdbcBackend loggers.

Attributes

Source
LoggingStatement.scala
Supertypes
trait PreparedStatement
trait Statement
trait AutoCloseable
trait Wrapper
class Object
trait Matchable
class Any
Show all
class LoggingStatement(st: Statement) extends Statement

A wrapper for java.sql.Statement that logs statements and benchmark results to the appropriate JdbcBackend loggers.

A wrapper for java.sql.Statement that logs statements and benchmark results to the appropriate JdbcBackend loggers.

Attributes

Source
LoggingStatement.scala
Supertypes
trait Statement
trait AutoCloseable
trait Wrapper
class Object
trait Matchable
class Any
Show all
Known subtypes

Slick profile for MySQL.

Slick profile for MySQL.

This profile implements slick.jdbc.JdbcProfile ''without'' the following capabilities:

Sequences are supported through an emulation which requires the schema to be created by Slick. You can also use an existing schema with your own sequence emulation if you provide for each sequence ''s'' a pair of functions s_nextval and s_currval.

The default type for strings of unlimited length is "TEXT", falling back to "VARCHAR(254)" if a Default or PrimaryKey column option is set. This can be changed by overriding slick.jdbc.MySQLProfile.defaultStringType in application.conf.

Note: Slick 3.2 also checks the old config path "slick.driver.MySQL" that was used by Slick 3.0 and 3.1, and logs a warning if anything is found there. Values from the old path are not used anymore. This deprecation warning will be removed in a future version.

Attributes

Companion
object
Source
MySQLProfile.scala
Supertypes
Known subtypes
object MySQLProfile.type
Self type
class OptionResultConverter[T](val jdbcType: JdbcType[T], val index: Int) extends ResultConverter[ResultSet, PreparedStatement, ResultSet, Option[T]]

Specialized JDBC ResultConverter for handling values of type Option[T]. Boxing is avoided when the result is None.

Specialized JDBC ResultConverter for handling values of type Option[T]. Boxing is avoided when the result is None.

Attributes

Source
JdbcResultConverter.scala
Supertypes
trait ResultConverter[ResultSet, PreparedStatement, ResultSet, Option[T]]
trait Dumpable
class Object
trait Matchable
class Any
trait OracleProfile extends JdbcProfile

Slick profile for Oracle.

Slick profile for Oracle.

This profile implements slick.jdbc.JdbcProfile ''without'' the following capabilities:

Note: The Oracle JDBC driver has problems with quoted identifiers. Columns which are returned from inserts must not require quoted names (in particular, they must not contain lower-case characters or be equal to a reserved word), otherwise a bug in the Oracle JDBC driver triggers an ORA-00904 error. The same issue arises when trying to update such a column in a mutable result set.

Updating Blob values in updatable result sets is not supported.

Attributes

Companion
object
Source
OracleProfile.scala
Supertypes
Known subtypes
object OracleProfile.type
object PGUtils

Attributes

Source
PostgresProfile.scala
Supertypes
class Object
trait Matchable
class Any
Self type
PGUtils.type
class PositionedParameters(val ps: PreparedStatement)

A wrapper for a JDBC PreparedStatement which allows inceremental setting of parameters without having to sepcify the column index each time.

A wrapper for a JDBC PreparedStatement which allows inceremental setting of parameters without having to sepcify the column index each time.

Attributes

Source
PositionedParameters.scala
Supertypes
class Object
trait Matchable
class Any
abstract class PositionedResult(val rs: ResultSet) extends Closeable

A database result positioned at a row and column.

A database result positioned at a row and column.

Attributes

Source
PositionedResult.scala
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Self type
abstract class PositionedResultIterator[+T](val pr: PositionedResult, maxRows: Int, autoClose: Boolean) extends ReadAheadIterator[T], CloseableIterator[T]

An CloseableIterator for a PositionedResult.

An CloseableIterator for a PositionedResult.

Attributes

Source
PositionedResult.scala
Supertypes
trait Closeable
trait AutoCloseable
trait BufferedIterator[T]
trait Iterator[T]
trait IterableOnceOps[T, Iterator, Iterator[T]]
trait IterableOnce[T]
class Object
trait Matchable
class Any
Show all

Slick profile for PostgreSQL.

Slick profile for PostgreSQL.

This profile implements slick.jdbc.JdbcProfile ''without'' the following capabilities:

  • slick.jdbc.JdbcCapabilities.insertOrUpdate: InsertOrUpdate operations are emulated on the server side with a single JDBC statement executing multiple server-side statements in a transaction. This is faster than a client-side emulation but may still fail due to concurrent updates. InsertOrUpdate operations with returning are emulated on the client side.

  • slick.jdbc.JdbcCapabilities.nullableNoDefault: Nullable columns always have NULL as a default according to the SQL standard. Consequently Postgres treats no specifying a default value just as specifying NULL and reports NULL as the default value. Some other dbms treat queries with no default as NULL default, but distinguish NULL from no default value in the meta data.

  • slick.jdbc.JdbcCapabilities.supportsByte: Postgres doesn't have a corresponding type for Byte. SMALLINT is used instead and mapped to Short in the Slick model.

Notes:

Attributes

Companion
object
Source
PostgresProfile.scala
Supertypes
Known subtypes
object PostgresProfile.type
class ProtectGroupBy extends Phase

Ensure that every expression in a GroupBy's "by" clause contains a reference to a proper source field. If this is not the case, wrap the source in a Subquery boundary.

Ensure that every expression in a GroupBy's "by" clause contains a reference to a proper source field. If this is not the case, wrap the source in a Subquery boundary.

Attributes

Source
SQLServerProfile.scala
Supertypes
trait Phase
trait Logging
class Object
trait Matchable
class Any
Show all

Attributes

Source
ResultSetInvoker.scala
Supertypes
class Object
trait Matchable
class Any
Self type
sealed abstract class ResultSetConcurrency(val intValue: Int)

Represents a result set concurrency mode.

Represents a result set concurrency mode.

Attributes

Companion
object
Source
ResultSetConcurrency.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Auto.type
object ReadOnly.type
object Updatable.type
Self type

Attributes

Companion
class
Source
ResultSetConcurrency.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed abstract class ResultSetHoldability(val intValue: Int)

Represents a result set holdability mode .

Represents a result set holdability mode .

Attributes

Companion
object
Source
ResultSetHoldability.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Auto.type
object CloseCursorsAtCommit.type
object Default.type
object HoldCursorsOverCommit.type
Self type

Attributes

Companion
class
Source
ResultSetHoldability.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
abstract class ResultSetInvoker[+R] extends Invoker[R]

An invoker which calls a function to retrieve a ResultSet. This can be used for reading information from a java.sql.DatabaseMetaData object which has many methods that return ResultSets.

An invoker which calls a function to retrieve a ResultSet. This can be used for reading information from a java.sql.DatabaseMetaData object which has many methods that return ResultSets.

For convenience, if the function returns null, this is treated like an empty ResultSet.

Attributes

Companion
object
Source
ResultSetInvoker.scala
Supertypes
trait Invoker[R]
class Object
trait Matchable
class Any
Self type

Attributes

Companion
class
Source
ResultSetInvoker.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait ResultSetMutator[T]

Attributes

Source
Invoker.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Mutator
sealed abstract class ResultSetType(val intValue: Int)

Represents a result set type.

Represents a result set type.

Attributes

Companion
object
Source
ResultSetType.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Auto.type
object ForwardOnly.type
object ScrollInsensitive.type
object ScrollSensitive.type
Self type
object ResultSetType

Attributes

Companion
class
Source
ResultSetType.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait RowsPerStatement

Attributes

Companion
object
Source
RowsPerStatement.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object All.type
object One.type

Attributes

Companion
trait
Source
RowsPerStatement.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Companion
class
Source
StaticQuery.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class SQLActionBuilder(sql: String, setParameter: SetParameter[Unit])

Attributes

Companion
object
Source
StaticQuery.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Slick profile for Microsoft SQL Server.

Slick profile for Microsoft SQL Server.

This profile implements slick.jdbc.JdbcProfile ''without'' the following capabilities:

The default type for strings of unlimited length is "VARCHAR(MAX)", falling back to "VARCHAR(254)" if a PrimaryKey column option is set. This can be changed by overriding slick.jdbc.SQLServerProfile.defaultStringType in application.conf.

Attributes

Companion
object
Source
SQLServerProfile.scala
Supertypes
Known subtypes
object SQLServerProfile.type

Slick profile for SQLite.

Slick profile for SQLite.

This profile implements slick.jdbc.JdbcProfile ''without'' the following capabilities:

Attributes

Companion
object
Source
SQLiteProfile.scala
Supertypes
Known subtypes
object SQLiteProfile.type
trait SetParameter[-T] extends (T, PositionedParameters) => Unit

Basic conversions for setting parameters in PositionedParameters.

Basic conversions for setting parameters in PositionedParameters.

Attributes

Companion
object
Source
SetParameter.scala
Supertypes
trait (T, PositionedParameters) => Unit
class Object
trait Matchable
class Any
Known subtypes
object SetBigDecimal.type
object SetBigDecimalOption.type
object SetBoolean.type
object SetBooleanOption.type
object SetByte.type
object SetByteOption.type
object SetDate.type
object SetDateOption.type
object SetDouble.type
object SetDoubleOption.type
object SetFloat.type
object SetFloatOption.type
object SetInt.type
object SetIntOption.type
object SetLong.type
object SetLongOption.type
object SetNothing.type
object SetShort.type
object SetShortOption.type
object SetSimpleProduct.type
object SetString.type
object SetStringOption.type
object SetTime.type
object SetTimeOption.type
object SetTimestamp.type
object SetTimestampOption.type
object SetUnit.type
Show all
Self type
object SetParameter

Attributes

Companion
trait
Source
SetParameter.scala
Supertypes
class Object
trait Matchable
class Any
Self type
class SetTupleParameter[-T <: Product](val children: SetParameter[_]*) extends SetParameter[T]

SetParameter for tuple types.

SetParameter for tuple types.

Attributes

Source
SetParameter.scala
Supertypes
trait SetParameter[T]
trait (T, PositionedParameters) => Unit
class Object
trait Matchable
class Any

A non-streaming Action that wraps a JDBC call.

A non-streaming Action that wraps a JDBC call.

Attributes

Source
StreamingInvokerAction.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait DBIOAction[R, NoStream, All]
trait Dumpable
class Object
trait Matchable
class Any
Show all

Factory methods for JdbcResultConverters which are manually specialized on the underlying JdbcType. A generic implementation of this factory still provides allocation free call paths but performs almost 100% slower in the fast path benchmark.

Factory methods for JdbcResultConverters which are manually specialized on the underlying JdbcType. A generic implementation of this factory still provides allocation free call paths but performs almost 100% slower in the fast path benchmark.

Attributes

Source
SpecializedJdbcResultConverters.scala
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class StatementInvoker[+R] extends Invoker[R]

An invoker which executes an SQL statement through JDBC.

An invoker which executes an SQL statement through JDBC.

Attributes

Source
StatementInvoker.scala
Supertypes
trait Invoker[R]
class Object
trait Matchable
class Any
Known subtypes
trait QueryInvoker[R]
class QueryInvokerImpl[R]
Self type

A streaming Action that wraps an Invoker. It is used for the Lifted Embedding, Direct Embedding, Plain SQL queries, and JDBC metadata.

A streaming Action that wraps an Invoker. It is used for the Lifted Embedding, Direct Embedding, Plain SQL queries, and JDBC metadata.

Attributes

Source
StreamingInvokerAction.scala
Supertypes
trait FixedSqlStreamingAction[R, T, E]
trait FixedSqlAction[R, Streaming[T], E]
trait SqlStreamingAction[R, T, E]
trait SqlAction[R, Streaming[T], E]
trait BasicStreamingAction[R, T, E]
trait BasicAction[R, Streaming[T], E]
trait DatabaseAction[R, Streaming[T], E]
trait DBIOAction[R, Streaming[T], E]
trait Dumpable
class Object
trait Matchable
class Any
Show all
Self type

Converts between TIMESTAMPTZ and java.time times and back. Oracle jar not on path at compile time (but must be a run time) Use reflection to get access to TIMESTAMPTZ class

Converts between TIMESTAMPTZ and java.time times and back. Oracle jar not on path at compile time (but must be a run time) Use reflection to get access to TIMESTAMPTZ class

Attributes

Source
OracleProfile.scala
Supertypes
class Object
trait Matchable
class Any
Self type
sealed abstract class TransactionIsolation(val intValue: Int)

Represents a transaction isolation level.

Represents a transaction isolation level.

Attributes

Companion
object
Source
TransactionIsolation.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ReadCommitted.type
object ReadUncommitted.type
object RepeatableRead.type
object Serializable.type

Attributes

Companion
class
Source
TransactionIsolation.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
class TypedParameter[T](val param: T, val setParameter: SetParameter[T])

Attributes

Companion
object
Source
StaticQuery.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Source
StaticQuery.scala
Supertypes
class Object
trait Matchable
class Any
Self type