Active session implementation of scalikejdbc.DBSession.
Commons DBCP Connection Pool
Connection Pool
Connection pool context
Connection Pool Factory
Settings for ConnectionPool
Basic Database Accessor
DB Session
Represents that this SQL already has an extractor
org.joda.time.LocalTime converter.
Settings for logging SQL and timing
Multiple connection pool context
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
java.sql.ResultSet cursor
scala.collection.Traversable object which wraps java.sql.ResultSet
SQL abstraction.
SQL which execute java.sql.Statement#executeBatch().
SQL which execute java.sql.Statement#execute().
SQL which exeute java.sql.Statement#executeQuery() and returns the result as scala.collection.immutable.List value.
SQL which exeute java.sql.Statement#executeQuery() and returns the result as scala.Option value.
SQL which exeute java.sql.Statement#executeQuery() and returns the result as scala.collection.Traversable value.
SQL which execute java.sql.Statement#exeuteUpdate().
SQL which execute java.sql.Statement#exeuteUpdate() and get generated key value.
BigDecimal converter.
java.sql.Statement Executor
String SQL Runner
Exception which represents too many rows returned.
DB Transaction abstraction.
Unix Time Converter to several types.
Represents an extractor is already specified or not
java.sql.ResultSet
wrapper
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
Loan pattern implementation
No Connection Pool Context
Represents that there is no active session.
SQL abstraction's companion object.
SQL Template Parser.
Companion object
Thread-local DB.
scala.Option value converter.
scala.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