Packages

p

scalikejdbc

package scalikejdbc

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. case class ActiveSession (conn: Connection, connectionAttributes: DBConnectionAttributes, tx: Option[Tx] = None, isReadOnly: Boolean = false) extends DBSession with Product with Serializable

    Active session implementation of scalikejdbc.DBSession.

    Active session implementation of scalikejdbc.DBSession.

    This class provides readOnly/autoCommit/localTx/withinTx blocks and session objects.

    import scalikejdbc._
    
    val userIdList = DB autoCommit { session: DBSession =>
      session.list("select * from user") { rs => rs.int("id") }
    }
    conn

    connection

    tx

    transaction

    isReadOnly

    is read only

  2. trait AllOutputDecisionsUnsupported [Z, E <: WithExtractor] extends SQL[Z, E]

    All output decisions are unsupported by default.

    All output decisions are unsupported by default.

    Z

    return type

    E

    extractor constraint

  3. case class AsIsParameterBinder (value: Any) extends ParameterBinderWithValue[Any] with Product with Serializable

    Type unsafe ParameterBinder which holds any value and binds it as-is to PreparedStatement.

  4. class AuthenticatedDataSourceConnectionPool extends ConnectionPool

    Connection Pool using external DataSource

    Connection Pool using external DataSource

    Note: Commons-DBCP doesn't support this API.

  5. class BoneCPConnectionPool extends ConnectionPool

    BoneCP Connection Pool

    BoneCP Connection Pool

    See also

    https://github.com/wwadge/bonecp

  6. class Commons2ConnectionPool extends ConnectionPool

    Commons DBCP Connection Pool

    Commons DBCP Connection Pool

    See also

    http://commons.apache.org/dbcp/

  7. class CommonsConnectionPool extends ConnectionPool

    Commons DBCP Connection Pool

    Commons DBCP Connection Pool

    See also

    http://commons.apache.org/dbcp/

  8. abstract class ConnectionPool extends AnyRef

    Connection Pool

  9. trait ConnectionPoolContext extends AnyRef

    Connection pool context

  10. trait ConnectionPoolFactory extends AnyRef

    Connection Pool Factory

  11. case class ConnectionPoolSettings (initialSize: Int = 0, maxSize: Int = 8, connectionTimeoutMillis: Long = 5000L, validationQuery: String = null, connectionPoolFactoryName: String = null, driverName: String = null, warmUpTime: Long = 100L, timeZone: String = null) extends Product with Serializable

    Settings for ConnectionPool

  12. case class DB (conn: Connection, connectionAttributes: DBConnectionAttributes = DBConnectionAttributes()) extends DBConnection with Product with Serializable

    Basic Database Accessor

    Basic Database Accessor

    Using DBSession:

    import scalikejdbc._
    case class User(id: Int, name: String)
    
    using(ConnectionPool(name).borrow()) { conn =>
    
      val users = DB(conn) readOnly { session =>
        session.list("select * from user") { rs =>
          User(rs.int("id"), rs.string("name"))
        }
      }
    
      DB(conn) autoCommit { session =>
        session.update("insert into user values (?,?)", 123, "Alice")
      }
    
      DB(conn) localTx { session =>
        session.update("insert into user values (?,?)", 123, "Alice")
      }
    
    }

    Using SQL:

    import scalikejdbc._
    case class User(id: Int, name: String)
    
    using(ConnectionPool.borrow()) { conn =>
    
      val users = DB(conn) readOnly { implicit session =>
        SQL("select * from user").map { rs =>
          User(rs.int("id"), rs.string("name"))
        }.list.apply()
      }
    
      DB(conn) autoCommit { implicit session =>
        SQL("insert into user values (?,?)").bind(123, "Alice").update.apply()
      }
    
      DB(conn) localTx { implicit session =>
        SQL("insert into user values (?,?)").bind(123, "Alice").update.apply()
      }
    
    }
  13. trait DBConnection extends LogSupport with LoanPattern

    Basic Database Accessor which holds a JDBC connection.

  14. case class DBConnectionAttributes (driverName: Option[String] = None, timeZoneSettings: TimeZoneSettings = TimeZoneSettings()) extends Product with Serializable

    Additional attributes for current JDBC connection.

  15. trait DBSession extends LogSupport with LoanPattern

    DB Session

    DB Session

    This class provides readOnly/autoCommit/localTx/withinTx blocks and session objects.

    import scalikejdbc._
    
    val userIdList = DB autoCommit { session: DBSession =>
      session.list("select * from user") { rs => rs.int("id") }
    }
  16. class DataSourceConnectionPool extends ConnectionPool

    Connection Pool using external DataSource

  17. case class DataSourceConnectionPoolSettings (driverName: String = null) extends Product with Serializable

    Settings for DataSourceConnectionPool

  18. trait EntityEquality extends AnyRef

    Entity identifier provider for equality (especially for scalikejdbc.RelationalSQL operation).

    Entity identifier provider for equality (especially for scalikejdbc.RelationalSQL operation).

    Notice: Inheritance is not supported.

    Example:
    1. class Person(val id: Long) extends EntityEquality { override val entityIdentity = id }
      class Member(override val id: Long) extends Person(id)
      val p1 = new Person(123)
      val p2 = new Person(123)
      val m1 = new Member(123)
      val m2 = new Member(123)
      p1 == p2 && p2 == p1 // true
      p1 == m1 || m1 == p1 // false
      m1 == m2 && m2 == m1 // true
  19. trait HasExtractor extends WithExtractor

    Represents that this SQL already has an extractor

  20. case class IllegalRelationshipException (message: String) extends IllegalStateException with Product with Serializable

    Exception which represents that an illegal relationship is found.

  21. case class InvalidColumnNameException (name: String) extends Exception with Product with Serializable

    Exception which represents invalid key is specified.

  22. case class JDBCSettings (url: String, user: String, password: String, driverName: String) extends Product with Serializable

    JDBC Settings

  23. case class JDBCUrl (host: String, port: Int, database: String) extends Product with Serializable

    JDBC URL which contains host, port and database name

  24. case class LikeConditionEscapeUtil (escapeChar: String) extends Product with Serializable

    Utility to escape like condition special characters.

  25. trait LoanPattern extends AnyRef

    Loan pattern implementation

  26. final class LocalTimeConverter extends AnyVal

    org.joda.time.LocalTime converter.

  27. case class LoggingSQLAndTimeSettings (enabled: Boolean = true, singleLineMode: Boolean = false, printUnprocessedStackTrace: Boolean = false, stackTraceDepth: Int = 15, logLevel: Symbol = 'debug, warningEnabled: Boolean = false, warningThresholdMillis: Long = 3000L, warningLogLevel: Symbol = 'warn) extends Product with Serializable

    Settings for logging SQL and timing

  28. trait LowPriorityImplicitsParameterBinderFactory0 extends AnyRef
  29. trait LowPriorityImplicitsParameterBinderFactory1 extends LowPriorityImplicitsParameterBinderFactory0
  30. trait LowPriorityTypeBinderImplicits extends AnyRef
  31. case class MultipleConnectionPoolContext (contexts: (Any, ConnectionPool)*) extends ConnectionPoolContext with Product with Serializable

    Multiple connection pool context

  32. case class NameBindingSQLValidatorSettings (ignoredParams: IgnoredParamsValidation = ExceptionForIgnoredParams) extends Product with Serializable

    Settings for Name binding SQL validator

  33. case class NamedAutoSession (name: Any) extends DBSession with Product with Serializable

    Represents that already existing session will be used or a new session which is retrieved from named connection pool will be started.

  34. case class NamedDB (name: Any)(implicit context: ConnectionPoolContext = NoConnectionPoolContext) extends DBConnection with Product with Serializable

    Named Basic DB Accessor

    Named Basic DB Accessor

    It's easier to use named ConnectionPool with this class.

    ConnectionPool.add('named, "jdbc:...", "user", "password")
    val users = NamedDB('named) readOnly { session =>
      session.list("select * from user")
    }
  35. trait NoExtractor extends WithExtractor

    Represents that this SQL doesn't have an extractor yet

  36. class OneToManies10SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  37. final class OneToManies10SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies10Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E, Z]
  38. class OneToManies10SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies10Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E, Z]
  39. class OneToManies10SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies10Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E, Z]
  40. class OneToManies10SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies10Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E, Z]
  41. class OneToManies11SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  42. final class OneToManies11SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies11Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, E, Z]
  43. class OneToManies11SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies11Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, E, Z]
  44. class OneToManies11SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies11Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, E, Z]
  45. class OneToManies11SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies11Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, E, Z]
  46. class OneToManies12SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  47. final class OneToManies12SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies12Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, E, Z]
  48. class OneToManies12SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies12Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, E, Z]
  49. class OneToManies12SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies12Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, E, Z]
  50. class OneToManies12SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies12Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, E, Z]
  51. class OneToManies13SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  52. final class OneToManies13SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies13Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, E, Z]
  53. class OneToManies13SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies13Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, E, Z]
  54. class OneToManies13SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies13Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, E, Z]
  55. class OneToManies13SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies13Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, E, Z]
  56. class OneToManies14SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  57. final class OneToManies14SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies14Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, E, Z]
  58. class OneToManies14SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies14Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, E, Z]
  59. class OneToManies14SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies14Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, E, Z]
  60. class OneToManies14SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies14Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, E, Z]
  61. class OneToManies15SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  62. final class OneToManies15SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies15Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, E, Z]
  63. class OneToManies15SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies15Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, E, Z]
  64. class OneToManies15SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies15Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, E, Z]
  65. class OneToManies15SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies15Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, E, Z]
  66. class OneToManies16SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  67. final class OneToManies16SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies16Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, E, Z]
  68. class OneToManies16SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies16Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, E, Z]
  69. class OneToManies16SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies16Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, E, Z]
  70. class OneToManies16SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies16Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, E, Z]
  71. class OneToManies17SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  72. final class OneToManies17SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies17Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, E, Z]
  73. class OneToManies17SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies17Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, E, Z]
  74. class OneToManies17SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies17Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, E, Z]
  75. class OneToManies17SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies17Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, E, Z]
  76. class OneToManies18SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  77. final class OneToManies18SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies18Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, E, Z]
  78. class OneToManies18SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies18Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, E, Z]
  79. class OneToManies18SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies18Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, E, Z]
  80. class OneToManies18SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies18Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, E, Z]
  81. class OneToManies19SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  82. final class OneToManies19SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies19Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, E, Z]
  83. class OneToManies19SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies19Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, E, Z]
  84. class OneToManies19SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies19Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, E, Z]
  85. class OneToManies19SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies19Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, E, Z]
  86. class OneToManies20SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  87. final class OneToManies20SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies20Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, E, Z]
  88. class OneToManies20SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies20Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, E, Z]
  89. class OneToManies20SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies20Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, E, Z]
  90. class OneToManies20SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies20Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, E, Z]
  91. class OneToManies21SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, B21, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  92. final class OneToManies21SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, B21, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies21Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, B21, E, Z]
  93. class OneToManies21SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, B21, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies21Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, B21, E, Z]
  94. class OneToManies21SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, B21, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies21Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, B21, E, Z]
  95. class OneToManies21SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, B21, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies21Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17, B18, B19, B20, B21, E, Z]
  96. class OneToManies2SQL [A, B1, B2, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  97. final class OneToManies2SQLToCollection [A, B1, B2, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with OneToManies2Extractor[A, B1, B2, E, Z]
  98. class OneToManies2SQLToList [A, B1, B2, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with OneToManies2Extractor[A, B1, B2, E, Z]
  99. 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]
  100. 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]
  101. class OneToManies3SQL [A, B1, B2, B3, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  102. final class OneToManies3SQLToCollection [A, B1, B2, B3, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies3Extractor[A, B1, B2, B3, E, Z]
  103. 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]
  104. 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]
  105. 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]
  106. class OneToManies4SQL [A, B1, B2, B3, B4, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  107. final class OneToManies4SQLToCollection [A, B1, B2, B3, B4, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies4Extractor[A, B1, B2, B3, B4, E, Z]
  108. 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]
  109. 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]
  110. 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]
  111. class OneToManies5SQL [A, B1, B2, B3, B4, B5, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  112. final class OneToManies5SQLToCollection [A, B1, B2, B3, B4, B5, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies5Extractor[A, B1, B2, B3, B4, B5, E, Z]
  113. 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]
  114. 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]
  115. 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]
  116. class OneToManies6SQL [A, B1, B2, B3, B4, B5, B6, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  117. final class OneToManies6SQLToCollection [A, B1, B2, B3, B4, B5, B6, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies6Extractor[A, B1, B2, B3, B4, B5, B6, E, Z]
  118. class OneToManies6SQLToList [A, B1, B2, B3, B4, B5, B6, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies6Extractor[A, B1, B2, B3, B4, B5, B6, E, Z]
  119. class OneToManies6SQLToOption [A, B1, B2, B3, B4, B5, B6, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies6Extractor[A, B1, B2, B3, B4, B5, B6, E, Z]
  120. class OneToManies6SQLToTraversable [A, B1, B2, B3, B4, B5, B6, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies6Extractor[A, B1, B2, B3, B4, B5, B6, E, Z]
  121. class OneToManies7SQL [A, B1, B2, B3, B4, B5, B6, B7, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  122. final class OneToManies7SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies7Extractor[A, B1, B2, B3, B4, B5, B6, B7, E, Z]
  123. class OneToManies7SQLToList [A, B1, B2, B3, B4, B5, B6, B7, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies7Extractor[A, B1, B2, B3, B4, B5, B6, B7, E, Z]
  124. class OneToManies7SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies7Extractor[A, B1, B2, B3, B4, B5, B6, B7, E, Z]
  125. class OneToManies7SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies7Extractor[A, B1, B2, B3, B4, B5, B6, B7, E, Z]
  126. class OneToManies8SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  127. final class OneToManies8SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies8Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, E, Z]
  128. class OneToManies8SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies8Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, E, Z]
  129. class OneToManies8SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies8Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, E, Z]
  130. class OneToManies8SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies8Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, E, Z]
  131. class OneToManies9SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  132. final class OneToManies9SQLToCollection [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies9Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, E, Z]
  133. class OneToManies9SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies9Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, E, Z]
  134. class OneToManies9SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToOption[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies9Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, E, Z]
  135. class OneToManies9SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToTraversable[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManies9Extractor[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, E, Z]
  136. class OneToManySQL [A, B, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  137. class OneToManySQLToCollection [A, B, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToManyExtractor[A, B, E, Z]
  138. 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]
  139. 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]
  140. 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]
  141. class OneToOneSQL [A, B, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  142. class OneToOneSQLToCollection [A, B, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with AllOutputDecisionsUnsupported[Z, E] with OneToOneExtractor[A, B, E, Z]
  143. 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]
  144. 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]
  145. 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]
  146. class OneToXSQL [A, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]

    Endpoint of one-to-x APIs

  147. trait ParameterBinder extends AnyRef

    Enables customizing StatementExecutor#bindParams behavior.

    Enables customizing StatementExecutor#bindParams behavior.

    val bytes = Array[Byte](1,2,3, ...)
    val in = ByteArrayInputStream(bytes)
    val bin = ParameterBinder(
      value = in,
      binder = (stmt, idx) => stmt.setBinaryStream(idx, in, bytes.length)
    )
    sql"insert into table (bin) values (${bin})".update.apply()
  148. trait ParameterBinderFactory [A] extends AnyRef
    Annotations
    @implicitNotFound( ... )
  149. trait ParameterBinderWithValue [A] extends ParameterBinder

    ParameterBinder which holds a value to bind.

    ParameterBinder which holds a value to bind.

    A

    value's type

  150. case class ReadOnlyNamedAutoSession (name: Any) extends DBSession with Product with Serializable

    Represents that already existing session will be used or a new read-only session which is retrieved from named connection pool will be started.

  151. class ResultSetCursor extends AnyRef

    java.sql.ResultSet cursor

  152. case class ResultSetExtractorException (message: String, e: Option[Exception] = None) extends IllegalArgumentException with Product with Serializable

    Exception which represents failure on ResultSet extraction.

  153. class ResultSetTraversable extends Traversable[WrappedResultSet] with LoanPattern

    scala.collection.Traversable object which wraps java.sql.ResultSet.

  154. abstract class SQL [A, E <: WithExtractor] extends Extractor[A]

    SQL abstraction.

    SQL abstraction.

    A

    return type

  155. class SQLBatch extends AnyRef

    SQL which execute java.sql.Statement#executeBatch().

  156. class SQLBatchWithGeneratedKey extends AnyRef
  157. class SQLExecution extends AnyRef

    SQL which execute java.sql.Statement#execute().

  158. trait SQLFormatter extends AnyRef

    SQL formatter

  159. case class SQLFormatterSettings (formatterClassName: Option[String]) extends LogSupport with Product with Serializable

    Settings for SQL formatter

  160. final class SQLInterpolationString extends AnyVal

    SQLInterpolation definition

  161. trait SQLToCollection [A, E <: WithExtractor] extends SQL[A, E] with Extractor[A]

    SQL to Collection

    SQL to Collection

    A

    return type

    E

    extractor settings

  162. class SQLToCollectionImpl [A, E <: WithExtractor] extends SQL[A, E] with SQLToCollection[A, E]
  163. trait SQLToList [A, E <: WithExtractor] extends SQL[A, E] with SQLToResult[A, E, List]

    SQL to List

    SQL to List

    A

    return type

    E

    extractor settings

  164. class SQLToListImpl [A, E <: WithExtractor] extends SQL[A, E] with SQLToList[A, E]

    SQL which execute java.sql.Statement#executeQuery() and returns the result as scala.collection.immutable.List value.

    SQL which execute java.sql.Statement#executeQuery() and returns the result as scala.collection.immutable.List value.

    A

    return type

  165. trait SQLToOption [A, E <: WithExtractor] extends SQL[A, E] with SQLToResult[A, E, Option]

    SQL to Option

    SQL to Option

    A

    return type

    E

    extractor settings

  166. class SQLToOptionImpl [A, E <: WithExtractor] extends SQL[A, E] with SQLToOption[A, E]

    SQL which execute java.sql.Statement#executeQuery() and returns the result as scala.Option value.

    SQL which execute java.sql.Statement#executeQuery() and returns the result as scala.Option value.

    A

    return type

  167. trait SQLToResult [A, E <: WithExtractor, C[_]] extends SQL[A, E] with Extractor[A]
  168. trait SQLToTraversable [A, E <: WithExtractor] extends SQL[A, E] with SQLToResult[A, E, Traversable]

    SQL which execute java.sql.Statement#executeQuery() and returns the result as scala.collection.Traversable value.

    SQL which execute java.sql.Statement#executeQuery() and returns the result as scala.collection.Traversable value.

    A

    return type

  169. class SQLToTraversableImpl [A, E <: WithExtractor] extends SQL[A, E] with SQLToTraversable[A, E]

    SQL which execute java.sql.Statement#executeQuery() and returns the result as scala.collection.Traversable value.

    SQL which execute java.sql.Statement#executeQuery() and returns the result as scala.collection.Traversable value.

    A

    return type

  170. class SQLUpdate extends AnyRef

    SQL which execute java.sql.Statement#executeUpdate().

  171. class SQLUpdateWithGeneratedKey extends AnyRef

    SQL which execute java.sql.Statement#executeUpdate() and get generated key value.

  172. final class ScalaBigDecimalConverter extends AnyVal

    BigDecimal converter.

  173. trait ScalaBigDecimalConverterImplicits extends AnyRef

    Implicit conversions for BigDecimal values.

  174. case class StatementExecutor (underlying: PreparedStatement, template: String, connectionAttributes: DBConnectionAttributes, singleParams: Seq[Any] = Nil, tags: Seq[String] = Nil, isBatch: Boolean = false) extends LogSupport with UnixTimeInMillisConverterImplicits with Product with Serializable

    java.sql.Statement Executor.

    java.sql.Statement Executor.

    underlying

    preparedStatement

    template

    SQL template

    singleParams

    parameters for single execution (= not batch execution)

    isBatch

    is batch flag

  175. case class StringSQLRunner (sql: String) extends LogSupport with Product with Serializable

    String SQL Runner

    String SQL Runner

    Basic Usage:

    import scalikejdbc.StringSQLRunner._
    
    val result: List[Map[String, Any]] = "insert into users values (1, 'Alice')".run()
    
    val users: List[Map[String, Any]] = "select * from users".run()
    sql

    SQL value

  176. class TimeZoneConverter extends AnyRef

    TimeZone converter for SQL Timestamp

  177. case class TimeZoneSettings (conversionEnabled: Boolean = false, serverTimeZone: TimeZone = TimeZone.getDefault) extends Product with Serializable

    Settings for timezone conversion

  178. case class TooManyRowsException (expected: Int, actual: Int) extends Exception with Product with Serializable

    Exception which represents too many rows returned.

  179. class Tx extends AnyRef

    DB Transaction abstraction.

  180. trait TxBoundary [A] extends AnyRef

    This type class enable users to customize the behavior of transaction boundary(commit/rollback).

  181. trait TypeBinder [+A] extends AnyRef

    Type binder for java.sql.ResultSet.

  182. class UnexpectedNullValueException extends Exception
  183. final class UnixTimeInMillisConverter extends AnyVal

    Unix Time Converter to several types.

  184. trait UnixTimeInMillisConverterImplicits extends AnyRef

    Implicit conversions for date time values.

  185. sealed trait WithExtractor extends AnyRef

    Represents an extractor is already specified or not

  186. case class WrappedResultSet (underlying: ResultSet, cursor: ResultSetCursor, index: Int) extends Product with Serializable

    java.sql.ResultSet wrapper.

Value Members

  1. object AutoSession extends DBSession with Product with Serializable

    Represents that already existing session will be used or a new session will be started.

  2. object BoneCPConnectionPoolFactory extends ConnectionPoolFactory

    Connection Pool Factory

    Connection Pool Factory

    See also

    https://github.com/wwadge/bonecp

  3. object Commons2ConnectionPoolFactory extends ConnectionPoolFactory

    Connection Pool Factory

    Connection Pool Factory

    See also

    http://commons.apache.org/dbcp/

  4. object CommonsConnectionPoolFactory extends ConnectionPoolFactory

    Connection Pool Factory

    Connection Pool Factory

    See also

    http://commons.apache.org/dbcp/

  5. object ConnectionPool extends LogSupport

    Connection Pool

    Connection Pool

    The default implementation uses Commons DBCP 2 internally.

    See also

    https://commons.apache.org/proper/commons-dbcp/

  6. object ConnectionPoolFactoryRepository

    ConnectionPoolFactoryRepository

  7. object DB extends LoanPattern with Serializable

    Basic Database Accessor

    Basic Database Accessor

    You can start with DB and blocks if using scalikejdbc.ConnectionPool.singleton().

    Using DBSession:

    ConnectionPool.singleton("jdbc:...","user","password")
    case class User(id: Int, name: String)
    
    val users = DB readOnly { session =>
      session.list("select * from user") { rs =>
        User(rs.int("id"), rs.string("name"))
      }
    }
    
    DB autoCommit { session =>
      session.update("insert into user values (?,?)", 123, "Alice")
    }
    
    DB localTx { session =>
      session.update("insert into user values (?,?)", 123, "Alice")
    }
    
    using(DB(ConnectionPool.borrow())) { db =>
      db.begin()
      try {
        DB withTx { session =>
          session.update("update user set name = ? where id = ?", "Alice", 123)
        }
        db.commit()
      } catch { case e =>
        db.rollbackIfActive()
        throw e
      }
    }

    Using SQL:

    ConnectionPool.singleton("jdbc:...","user","password")
    case class User(id: Int, name: String)
    
    val users = DB readOnly { implicit session =>
      SQL("select * from user").map { rs =>
        User(rs.int("id"), rs.string("name"))
      }.list.apply()
    }
    
    DB autoCommit { implicit session =>
      SQL("insert into user values (?,?)").bind(123, "Alice").update.apply()
    }
    
    DB localTx { implicit session =>
      SQL("insert into user values (?,?)").bind(123, "Alice").update.apply()
    }
    
    using(DB(ConnectionPool.borrow())) { db =>
      db.begin()
      try {
        DB withTx { implicit session =>
          SQL("update user set name = ? where id = ?").bind("Alice", 123).update.apply()
        }
        db.commit()
      } catch { case e =>
        db.rollbackIfActive()
        throw e
      }
    }
  8. object DBSession
  9. object GeneralizedTypeConstraintsForWithExtractor

    Generalized type constraints for WithExtractor

  10. object GlobalSettings

    GlobalSettings for this library

  11. object JDBCUrl extends Serializable

    Companion object of JDBC URL

  12. object LikeConditionEscapeUtil extends LikeConditionEscapeUtil
  13. object LoanPattern extends LoanPattern
  14. object NoConnectionPoolContext extends ConnectionPoolContext

    No Connection Pool Context

  15. object NoSession extends DBSession with Product with Serializable

    Represents that there is no active session.

  16. object OneToXSQL
  17. object ParameterBinder

    ParameterBinder factory.

  18. object ParameterBinderFactory extends LowPriorityImplicitsParameterBinderFactory1
  19. object ReadOnlyAutoSession extends DBSession with Product with Serializable

    Represents that already existing session will be used or a new read-only session will be started.

  20. object SQL

    SQL abstraction's companion object

    SQL abstraction's companion object

    ConnectionPool.singleton("jdbc:...","user","password")
    case class User(id: Int, name: String)
    
    val users = DB.readOnly { implicit session =>
      SQL("select * from user").map { rs =>
        User(rs.int("id"), rs.string("name"))
      }.list.apply()
    }
    
    DB .autoCommit { implicit session =>
      SQL("insert into user values (?,?)").bind(123, "Alice").update.apply()
    }
    
    DB localTx { implicit session =>
      SQL("insert into user values (?,?)").bind(123, "Alice").update.apply()
    }
    
    using(DB(ConnectionPool.borrow())) { db =>
      db.begin()
      try {
        DB withTx { implicit session =>
          SQL("update user set name = ? where id = ?").bind("Alice", 123).update.apply()
        }
        db.commit()
      } catch { case e =>
        db.rollbackIfActive()
        throw e
      }
    }
  21. object SQLFormatterSettings extends Serializable
  22. object SQLTemplateParser extends JavaTokenParsers with LogSupport

    SQL Template Parser.

    SQL Template Parser.

    This parser supports following templates.

    Basic SQL Template:

    select * from user where id = ? and user_name = ?

    Anorm-like SQL Template:

    select * from user where id = {id} and user_name = {userName}

    Executable SQL Template:

    select * from user where id = /*'id*/123 and user_name = /*'userName*/\'Alice'

    ExecutableSQL is the template which contains parameter names just as comments with dummy values without specific syntax. The template is a valid SQL, so you can check it is correct before building into app.

  23. object ScalikejdbcBuildInfo extends Product with Serializable

    This object was generated by sbt-buildinfo.

  24. object StatementExecutor extends Serializable

    Companion object.

  25. object StringSQLRunner extends Serializable
  26. object ThreadLocalDB

    Thread-local DB.

  27. object TimeZoneConverter
  28. object TxBoundary

    TxBoundary type class instances.

  29. object TypeBinder extends LowPriorityTypeBinderImplicits with UnixTimeInMillisConverterImplicits

    Type binder for java.sql.ResultSet.

  30. object UnixTimeInMillisConverterImplicits extends UnixTimeInMillisConverterImplicits

Ungrouped