Active session implementation of scalikejdbc.DBSession.
All output decisions are unsupported by default.
Connection Pool using external DataSource
Commons DBCP Connection Pool
Connection Pool
Connection pool context
Connection Pool Factory
Settings for ConnectionPool
Basic Database Accessor
Basic Database Accessor
DB Session
Connection Pool using external DataSource
Entity identifier provider for equality (especially for scalikejdbc.
Represents that this SQL already has an extractor
Exception which represents that an illegal relationship is found.
Exception which represents invalid key is specified.
JDBC Settings
JDBC URL which contains host, port and database name
org.
Settings for logging SQL and timing
Multiple connection pool context
Settings for Name binding SQL validator
Represents that already existing session will be used or a new session which is retrieved from named connection pool will be started.
Named Basic DB Accessor
Represents that this SQL doesn't have an extractor yet
Endpoint of one-to-x APIs
Represents that already existing session will be used or a new read-only session which is retrieved from named connnection pool will be started.
java.
Exception which represents failure on ResultSet extraction.
scala.
SQL abstraction.
SQL which execute java.
SQL which execute java.
SQL formatter
Settings for SQL formatter
SQL to List
SQL which execute java.
SQL to Option
SQL which execute java.
SQL to Traversable
SQL which execute java.
SQL which execute java.
SQL which execute java.
BigDecimal converter.
java.
String SQL Runner
Exception which represents too many rows returned.
DB Transaction abstraction.
Type binder for java.
Unix Time Converter to several types.
Represents an extractor is already specified or not
java.
Represents that already existing session will be used or a new session will be started.
Connection Pool Factory
Connection Pool
Basic Database Accessor
Generalized type constraints for WithExtractor
GlobalSettings for this library
Companion object of JDBC URL
Loan pattern implementation
No Connection Pool Context
Represents that there is no active session.
Represents that already existing session will be used or a new read-only session will be started.
SQL abstraction's companion object.
SQL Template Parser.
Companion object.
Thread-local DB.
Type binder for java.
Option value converter.
Option value converter.
raw type
nullable raw value
optional value
(Since version 1.4.0) ExecutableSQLParser renamed ifself SQLTemplateParser
ScalikeJDBC - SQL-Based DB Access Library for Scala
Just write SQL:
ScalikeJDBC is a SQL-based DB access library for Scala developers. This library naturally wraps JDBC APIs and provides you easy-to-use APIs. Users do nothing other than writing SQL and mapping from java.sql.ResultSet objects to Scala values.
Basic Usage:
Using scalikejdbc.DBSession:
Using scalikejdbc.SQL:
or