scalikejdbc
package
scalikejdbc
Type Members
-
case class
ActiveSession
(conn: Connection, tx: Option[Tx], isReadOnly: Boolean) extends DBSession with Product with Serializable
-
-
-
type
Closable
= AnyRef { def close(): Unit }
-
-
-
-
-
case class
ConnectionPoolSettings
(initialSize: Int, maxSize: Int, connectionTimeoutMillis: Long, validationQuery: String) extends Product with Serializable
-
case class
DB
(conn: Connection) extends DBConnection with Product with Serializable
-
trait
DBConnection
extends LogSupport
-
trait
DBSession
extends LogSupport
-
-
-
trait
HasExtractor
extends WithExtractor
-
case class
IllegalRelationshipException
(message: String) extends IllegalStateException with Product with Serializable
-
case class
InvalidColumnNameException
(name: String) extends Exception with Product with Serializable
-
case class
JDBCSettings
(url: String, user: String, password: String, driverName: String) extends Product with Serializable
-
case class
JDBCUrl
(host: String, port: Int, database: String) extends Product with Serializable
-
-
case class
LoggingSQLAndTimeSettings
(enabled: Boolean, singleLineMode: Boolean, printUnprocessedStackTrace: Boolean, stackTraceDepth: Int, logLevel: Symbol, warningEnabled: Boolean, warningThresholdMillis: Long, warningLogLevel: Symbol) extends Product with Serializable
-
-
case class
MultipleConnectionPoolContext
(contexts: (Any, ConnectionPool)*) extends ConnectionPoolContext with Product with Serializable
-
case class
NameBindingSQLValidatorSettings
(ignoredParams: IgnoredParamsValidation) extends Product with Serializable
-
case class
NamedAutoSession
(name: Any) extends DBSession with Product with Serializable
-
case class
NamedDB
(name: Any, context: ConnectionPoolContext) extends DBConnection with Product with Serializable
-
trait
NoExtractor
extends WithExtractor
-
class
OneToManies2SQL
[A, B1, B2, E <: WithExtractor, Z]
extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
-
class
OneToManies2SQLToList
[A, B1, B2, E <: WithExtractor, Z]
extends SQL[Z, E] with SQLToList[Z, E] with OutputDecisions[Z, E] with OneToManies2Extractor[A, B1, B2, E, Z]
-
class
OneToManies2SQLToOption
[A, B1, B2, E <: WithExtractor, Z]
extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies2Extractor[A, B1, B2, E, Z]
-
class
OneToManies2SQLToTraversable
[A, B1, B2, E <: WithExtractor, Z]
extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies2Extractor[A, B1, B2, E, Z]
-
class
OneToManies3SQL
[A, B1, B2, B3, E <: WithExtractor, Z]
extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
-
class
OneToManies3SQLToList
[A, B1, B2, B3, E <: WithExtractor, Z]
extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies3Extractor[A, B1, B2, B3, E, Z]
-
class
OneToManies3SQLToOption
[A, B1, B2, B3, E <: WithExtractor, Z]
extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies3Extractor[A, B1, B2, B3, E, Z]
-
class
OneToManies3SQLToTraversable
[A, B1, B2, B3, E <: WithExtractor, Z]
extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies3Extractor[A, B1, B2, B3, E, Z]
-
class
OneToManies4SQL
[A, B1, B2, B3, B4, E <: WithExtractor, Z]
extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
-
class
OneToManies4SQLToList
[A, B1, B2, B3, B4, E <: WithExtractor, Z]
extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies4Extractor[A, B1, B2, B3, B4, E, Z]
-
class
OneToManies4SQLToOption
[A, B1, B2, B3, B4, E <: WithExtractor, Z]
extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies4Extractor[A, B1, B2, B3, B4, E, Z]
-
class
OneToManies4SQLToTraversable
[A, B1, B2, B3, B4, E <: WithExtractor, Z]
extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies4Extractor[A, B1, B2, B3, B4, E, Z]
-
class
OneToManies5SQL
[A, B1, B2, B3, B4, B5, E <: WithExtractor, Z]
extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
-
class
OneToManies5SQLToList
[A, B1, B2, B3, B4, B5, E <: WithExtractor, Z]
extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies5Extractor[A, B1, B2, B3, B4, B5, E, Z]
-
class
OneToManies5SQLToOption
[A, B1, B2, B3, B4, B5, E <: WithExtractor, Z]
extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies5Extractor[A, B1, B2, B3, B4, B5, E, Z]
-
class
OneToManies5SQLToTraversable
[A, B1, B2, B3, B4, B5, E <: WithExtractor, Z]
extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies5Extractor[A, B1, B2, B3, B4, B5, E, Z]
-
class
OneToManySQL
[A, B, E <: WithExtractor, Z]
extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
-
class
OneToManySQLToList
[A, B, E <: WithExtractor, Z]
extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManyExtractor[A, B, E, Z]
-
class
OneToManySQLToOption
[A, B, E <: WithExtractor, Z]
extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManyExtractor[A, B, E, Z]
-
class
OneToManySQLToTraversable
[A, B, E <: WithExtractor, Z]
extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManyExtractor[A, B, E, Z]
-
class
OneToOneSQL
[A, B, E <: WithExtractor, Z]
extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
-
class
OneToOneSQLToList
[A, B, E <: WithExtractor, Z]
extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToOneExtractor[A, B, E, Z]
-
class
OneToOneSQLToOption
[A, B, E <: WithExtractor, Z]
extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToOneExtractor[A, B, E, Z]
-
class
OneToOneSQLToTraversable
[A, B, E <: WithExtractor, Z]
extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToOneExtractor[A, B, E, Z]
-
class
OneToXSQL
[A, E <: WithExtractor, Z]
extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
-
case class
ReadOnlyNamedAutoSession
(name: Any) extends DBSession with Product with Serializable
-
-
case class
ResultSetExtractorException
(message: String, e: Option[Exception]) extends IllegalArgumentException with Product with Serializable
-
class
ResultSetTraversable
extends Traversable[WrappedResultSet]
-
class
SQL
[A, E <: WithExtractor]
extends Extractor[A]
-
class
SQLBatch
extends AnyRef
-
-
-
case class
SQLFormatterSettings
(formatterClassName: Option[String]) extends LogSupport with Product with Serializable
-
trait
SQLToList
[A, E <: WithExtractor]
extends SQL[A, E] with Extractor[A]
-
class
SQLToListImpl
[A, E <: WithExtractor]
extends SQL[A, E] with OutputDecisions[A, E] with SQLToList[A, E]
-
trait
SQLToOption
[A, E <: WithExtractor]
extends SQL[A, E] with Extractor[A]
-
class
SQLToOptionImpl
[A, E <: WithExtractor]
extends SQL[A, E] with OutputDecisions[A, E] with SQLToOption[A, E]
-
trait
SQLToTraversable
[A, E <: WithExtractor]
extends SQL[A, E] with Extractor[A]
-
class
SQLToTraversableImpl
[A, E <: WithExtractor]
extends SQL[A, E] with OutputDecisions[A, E] with SQLToTraversable[A, E]
-
class
SQLUpdate
extends AnyRef
-
-
-
case class
StatementExecutor
(underlying: PreparedStatement, template: String, singleParams: Seq[Any], isBatch: Boolean) extends LogSupport with Product with Serializable
-
case class
StringSQLRunner
(sql: String) extends LogSupport with Product with Serializable
-
case class
TooManyRowsException
(expected: Int, actual: Int) extends Exception with Product with Serializable
-
class
Tx
extends AnyRef
-
trait
TypeBinder
[+A]
extends AnyRef
-
-
-
-
case class
WrappedResultSet
(underlying: ResultSet, cursor: ResultSetCursor, index: Int) extends Product with Serializable
Deprecated Value Members
-
val
ExecutableSQLParser
: scalikejdbc.SQLTemplateParser.type
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 DBSession:
Using SQL:
or