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
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
ExecutableSQL Parser.
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.
Thread-local DB.
scala.Option value converter.
scala.Option value converter.
raw type
nullable raw value
optional value
ScalikeJDBC - A thin JDBC wrapper in Scala
Just write SQL:
This is a thin JDBC wrapper library which just uses java.sql.PreparedStatement internally. Users only need to write SQL and map from java.sql.ResultSet objects to Scala objects. It's pretty simple, really.
Basic Usage:
Using scalikejdbc.DBSession:
Using scalikejdbc.SQL:
or