Specialized JDBC ResultConverter for non-Option
values.
Set parameters on a new Connection.
Set parameters on a new Connection. This is used by DriverJdbcDataSource.
A JdbcDataSource for a DataSource
Specialized JDBC ResultConverter for handling non-Option
values with a default.
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.
A JdbcDataSource which can load a JDBC Driver
from a class name
A JdbcDataSource for lookup via a Driver
or the DriverManager
Basic conversions for extracting values from PositionedResults.
GetResult for tuple types.
A JdbcDataSource for a HikariCP connection pool
Base trait for all statement invokers of result element type R.
A JDBC-based database back-end which can be used for Plain SQL queries and with all slick.driver.JdbcProfile-based drivers.
A JDBC-based database back-end which can be used for Plain SQL queries and with all slick.driver.JdbcProfile-based drivers.
A JdbcDataSource
provides a way to create a Connection
object for a database.
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.DatabaseDef it is not a
part of the backend cake. This trait defines the SPI for 3rd-party connection pool support.
Create a JdbcDataSource from a Config
object and an optional JDBC Driver
.
Create a JdbcDataSource from a Config
object and an optional JDBC Driver
.
This is used with the "connectionPool" configuration option in
JdbcBackend.DatabaseFactoryDef.forConfig.
A ResultConverter
that simplifies the implementation of fast path
converters for JdbcProfile
.
A ResultConverter
that simplifies the implementation of fast path
converters for JdbcProfile
. It always wraps a TypeMappingResultConverter
on top of a ProductResultConverter
, allowing direct access to the product
elements.
JDBC driver component which contains the mapping compiler and insert compiler
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.
A JdbcType object represents a Scala type that can be used as a column type in the database.
A JdbcType object represents a Scala type that can be used as a column type in the database. Implicit JdbcTypes for the standard types of a profile are provided by the drivers.
A wrapper for java.sql.PreparedStatement
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.
A special kind of invoker that allows the result data to be mutated .
Specialized JDBC ResultConverter for handling values of type Option[T]
.
Specialized JDBC ResultConverter for handling values of type Option[T]
.
Boxing is avoided when the result is None
.
A wrapper for a JDBC PreparedStatement
which allows inceremental setting of
parameters without having to sepcify the column index each time.
A database result positioned at a row and column.
An CloseableIterator for a PositionedResult.
Represents a result set concurrency mode.
Represents a result set holdability mode .
An invoker which calls a function to retrieve a ResultSet.
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.
Represents a result set type.
Basic conversions for setting parameters in PositionedParameters.
SetParameter for tuple types.
A non-streaming Action that wraps a JDBC call.
An invoker which executes an SQL statement through JDBC.
A builder for Plain SQL queries.
Invoker for Plain SQL queries.
A streaming Action that wraps an Invoker.
A streaming Action that wraps an Invoker. It is used for the Lifted Embedding, Direct Embedding, Plain SQL queries, and JDBC metadata.
Represents a transaction isolation level.
(Since version 3.0) Use the new Action-based Plain SQL API from driver.api instead
Results of SQLInterpolation macros is SQLInterpolationResult objects
Results of SQLInterpolation macros is SQLInterpolationResult objects
(Since version 3.0) Use the new Action-based Plain SQL API from driver.api instead
A JDBC Session which is not managed by Slick.
A JDBC Session which is not managed by Slick. You can use this to wrap an existing JDBC Connection. Override 'database' and 'performRollback' as needed.
(Since version 3.0) Use the new Action-based API instead
Implementation of SQLInterpolation macros based on code in TypedStaticQuery object
Factory methods for JdbcResultConverters which are manually specialized on the underlying JdbcType.
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.
JDBC-related code, including all facilities for Plain SQL queries and JDBC-specific driver components.