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

Concise view

Type members

Classlikes

final class ActionBasedSQLInterpolation(val s: StringContext) extends AnyVal

Attributes

Source:
StaticQuery.scala
Graph
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
Graph
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
Graph
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
Graph
Supertypes
Known subtypes
object DB2Profile.type
object DB2Profile extends DB2Profile

Attributes

Companion:
trait
Source:
DB2Profile.scala
Graph
Supertypes
Self 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
Graph
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
JdbcDataSource.scala
Graph
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
Graph
Supertypes
trait Logging
trait Closeable
trait AutoCloseable
trait DataSource
trait Wrapper
trait CommonDataSource
class Object
trait Matchable
class Any
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
Graph
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
Graph
Supertypes
Known subtypes
object DerbyProfile.type
object DerbyProfile extends DerbyProfile

Attributes

Companion:
trait
Source:
DerbyProfile.scala
Graph
Supertypes
Self 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 with Closeable with 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
Graph
Supertypes
trait Logging
trait Closeable
trait AutoCloseable
trait DataSource
trait Wrapper
trait CommonDataSource
class Object
trait Matchable
class Any
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
Graph
Supertypes
trait PositionedResult => T
class Object
trait Matchable
class Any
Known subtypes
object GetBigDecimal.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
Self type
object GetResult

Attributes

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

GetResult for tuple types.

GetResult for tuple types.

Attributes

Source:
GetResult.scala
Graph
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
Graph
Supertypes
Known subtypes
object H2Profile.type
object H2Profile extends H2Profile

Attributes

Companion:
trait
Source:
H2Profile.scala
Graph
Supertypes
Self 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
Graph
Supertypes
Known subtypes
object HsqldbProfile.type

Attributes

Companion:
trait
Source:
HsqldbProfile.scala
Graph
Supertypes
Self type
class InsertBuilderResult(val table: TableNode, val sql: String, val fields: ConstArray[FieldSymbol])

Attributes

Source:
JdbcStatementBuilderComponent.scala
Graph
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
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type
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
Graph
Supertypes
trait ResultConverter[ResultSet, PreparedStatement, ResultSet, Boolean]
trait Dumpable
class Object
trait Matchable
class Any

Attributes

Companion:
object
Source:
JdbcActionComponent.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type

Attributes

Companion:
trait
Source:
JdbcActionComponent.scala
Graph
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
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object JdbcBackend.type
object JdbcBackend extends JdbcBackend

Attributes

Companion:
trait
Source:
JdbcBackend.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Capabilities for slick.jdbc.JdbcProfile.

Capabilities for slick.jdbc.JdbcProfile.

Attributes

Source:
JdbcCapabilities.scala
Graph
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
Graph
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes
object JdbcDataSource extends Logging

Attributes

Companion:
trait
Source:
JdbcDataSource.scala
Graph
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
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Source:
JdbcInvokerComponent.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object DB2Profile.type
object DerbyProfile.type
trait H2Profile
object H2Profile.type
object HsqldbProfile.type
object MySQLProfile.type
object OracleProfile.type
object PostgresProfile.type
object SQLServerProfile.type
object SQLiteProfile.type
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
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object DB2Profile.type
object DerbyProfile.type
trait H2Profile
object H2Profile.type
object HsqldbProfile.type
object MySQLProfile.type
object OracleProfile.type
object PostgresProfile.type
object SQLServerProfile.type
object SQLiteProfile.type
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.

Attributes

ignoreInvalidDefaults

see JdbcModelBuilder#ColumnBuilder#default

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

Attributes

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

Abstract profile for accessing SQL databases via JDBC.

Abstract profile for accessing SQL databases via JDBC.

Attributes

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

Attributes

Source:
JdbcStatementBuilderComponent.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object DB2Profile.type
object DerbyProfile.type
trait H2Profile
object H2Profile.type
object HsqldbProfile.type
object MySQLProfile.type
object OracleProfile.type
object PostgresProfile.type
object SQLServerProfile.type
object SQLiteProfile.type
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
Graph
Supertypes
trait BaseTypedType[T]
trait TypedType[T]
trait Type
trait Dumpable
class Object
trait Matchable
class Any
Known subtypes
class MappedJdbcType[T, U]
Self type

Attributes

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

Attributes

Companion:
trait
Source:
JdbcTypesComponent.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class LoggingPreparedStatement(st: PreparedStatement) extends LoggingStatement with 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
Graph
Supertypes
trait PreparedStatement
trait Statement
trait AutoCloseable
trait Wrapper
class Object
trait Matchable
class Any
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
Graph
Supertypes
trait Statement
trait AutoCloseable
trait Wrapper
class Object
trait Matchable
class Any
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
Graph
Supertypes
Known subtypes
object MySQLProfile.type
Self type
object MySQLProfile extends MySQLProfile

Attributes

Companion:
trait
Source:
MySQLProfile.scala
Graph
Supertypes
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
Graph
Supertypes
trait ResultConverter[ResultSet, PreparedStatement, ResultSet, Option[T]]
trait Dumpable
class Object
trait Matchable
class Any

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
Graph
Supertypes
Known subtypes
object OracleProfile.type

Attributes

Companion:
trait
Source:
OracleProfile.scala
Graph
Supertypes
Self type
object PGUtils

Attributes

Source:
PostgresProfile.scala
Graph
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
Graph
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
Graph
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Self type

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
Graph
Supertypes
Known subtypes
object PostgresProfile.type

Attributes

Companion:
trait
Source:
PostgresProfile.scala
Graph
Supertypes
Self 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
Graph
Supertypes
trait Phase
trait Logging
class Object
trait Matchable
class Any

Attributes

Source:
ResultSetInvoker.scala
Graph
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
Graph
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
Graph
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
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Auto.type
object Default.type
Self type

Attributes

Companion:
class
Source:
ResultSetHoldability.scala
Graph
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
Graph
Supertypes
trait Invoker[R]
class Object
trait Matchable
class Any
Self type

Attributes

Companion:
class
Source:
ResultSetInvoker.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source:
Invoker.scala
Graph
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
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Auto.type
object ForwardOnly.type
object ScrollInsensitive.type
object ScrollSensitive.type
Self type

Attributes

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

Attributes

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

Attributes

Companion:
trait
Source:
RowsPerStatement.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
case class SQLActionBuilder(strings: Seq[String], params: Seq[TypedParameter[_]])

Attributes

Source:
StaticQuery.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

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

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
Graph
Supertypes
Known subtypes
object SQLServerProfile.type

Attributes

Companion:
trait
Source:
SQLServerProfile.scala
Graph
Supertypes
Self 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
Graph
Supertypes
Known subtypes
object SQLiteProfile.type

Attributes

Companion:
trait
Source:
SQLiteProfile.scala
Graph
Supertypes
Self 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
Graph
Supertypes
trait (T, PositionedParameters) => Unit
class Object
trait Matchable
class Any
Known subtypes
object SetBigDecimal.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
Self type

Attributes

Companion:
trait
Source:
SetParameter.scala
Graph
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
Graph
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
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Dumpable
class Object
trait Matchable
class Any

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
Graph
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
Graph
Supertypes
trait Invoker[R]
class Object
trait Matchable
class Any
Known subtypes
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
Graph
Supertypes
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
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
Graph
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
Graph
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
Graph
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
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

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