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, settings: SettingsProvider = SettingsProvider.default) 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 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. case class AutoSession (settings: SettingsProvider) extends DBSession with Product with Serializable

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

  6. trait Binders [A] extends TypeBinder[A] with ParameterBinderFactory[A]

    Provides both of TypeBinder and ParameterBinderFactory for the specified type A.

  7. class BoneCPConnectionPool extends ConnectionPool

    BoneCP Connection Pool

    BoneCP Connection Pool

    See also

    https://github.com/wwadge/bonecp

  8. class Commons2ConnectionPool extends ConnectionPool

    Commons DBCP Connection Pool

    Commons DBCP Connection Pool

    See also

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

  9. class CommonsConnectionPool extends ConnectionPool

    Commons DBCP Connection Pool

    Commons DBCP Connection Pool

    See also

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

  10. abstract class ConnectionPool extends AnyRef

    Connection Pool

  11. trait ConnectionPoolContext extends AnyRef

    Connection pool context

  12. trait ConnectionPoolFactory extends AnyRef

    Connection Pool Factory

  13. 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

  14. case class DB (conn: Connection, connectionAttributes: DBConnectionAttributes = DBConnectionAttributes(), settingsProvider: SettingsProvider = SettingsProvider.default) 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()
      }
    
    }
  15. trait DBConnection extends LogSupport with LoanPattern

    Basic Database Accessor which holds a JDBC connection.

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

    Additional attributes for current JDBC connection.

  17. 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") }
    }
  18. class DataSourceConnectionPool extends ConnectionPool

    Connection Pool using external DataSource

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

    Settings for DataSourceConnectionPool

  20. 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
  21. trait HasExtractor extends WithExtractor

    Represents that this SQL already has an extractor

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

    Exception which represents that an illegal relationship is found.

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

    Exception which represents invalid key is specified.

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

    JDBC Settings

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

    JDBC URL which contains host, port and database name

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

    Utility to escape like condition special characters.

  27. trait LoanPattern extends AnyRef

    Loan pattern implementation

  28. final class LocalTimeConverter extends AnyVal

    org.joda.time.LocalTime converter.

  29. 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, maxColumnSize: Option[Int] = Some(100), maxBatchParamSize: Option[Int] = Some(20)) extends Product with Serializable

    Settings for logging SQL and timing

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

    Multiple connection pool context

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

    Settings for Name binding SQL validator

  35. case class NamedAutoSession (name: Any, settings: SettingsProvider = SettingsProvider.default) 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.

  36. case class NamedDB (name: Any, settingsProvider: SettingsProvider = SettingsProvider.default)(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")
    }
  37. trait NoExtractor extends WithExtractor

    Represents that this SQL doesn't have an extractor yet

  38. class OneToManies10SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  39. 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]
  40. 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]
  41. 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]
  42. 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]
  43. 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]
  44. 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]
  45. 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]
  46. 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]
  47. 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]
  48. 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]
  49. 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]
  50. 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]
  51. 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]
  52. 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]
  53. 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]
  54. 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]
  55. 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]
  56. 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]
  57. 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]
  58. 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]
  59. 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]
  60. 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]
  61. 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]
  62. 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]
  63. 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]
  64. 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]
  65. 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]
  66. 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]
  67. 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]
  68. 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]
  69. 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]
  70. 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]
  71. 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]
  72. 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]
  73. 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]
  74. 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]
  75. 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]
  76. 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]
  77. 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]
  78. 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]
  79. 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]
  80. 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]
  81. 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]
  82. 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]
  83. 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]
  84. 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]
  85. 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]
  86. 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]
  87. 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]
  88. 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]
  89. 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]
  90. 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]
  91. 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]
  92. 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]
  93. 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]
  94. 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]
  95. 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]
  96. 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]
  97. 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]
  98. class OneToManies2SQL [A, B1, B2, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  99. final class OneToManies2SQLToCollection [A, B1, B2, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToCollection[Z, E] with OneToManies2Extractor[A, B1, B2, E, Z]
  100. class OneToManies2SQLToList [A, B1, B2, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with OneToManies2Extractor[A, B1, B2, E, Z]
  101. 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]
  102. 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]
  103. class OneToManies3SQL [A, B1, B2, B3, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  104. 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]
  105. 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]
  106. 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]
  107. 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]
  108. class OneToManies4SQL [A, B1, B2, B3, B4, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  109. 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]
  110. 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]
  111. 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]
  112. 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]
  113. class OneToManies5SQL [A, B1, B2, B3, B4, B5, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  114. 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]
  115. 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]
  116. 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]
  117. 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]
  118. class OneToManies6SQL [A, B1, B2, B3, B4, B5, B6, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  119. 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]
  120. 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]
  121. 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]
  122. 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]
  123. class OneToManies7SQL [A, B1, B2, B3, B4, B5, B6, B7, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  124. 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]
  125. 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]
  126. 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]
  127. 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]
  128. class OneToManies8SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  129. 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]
  130. 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]
  131. 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]
  132. 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]
  133. class OneToManies9SQL [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  134. 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]
  135. 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]
  136. 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]
  137. 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]
  138. class OneToManySQL [A, B, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  139. 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]
  140. 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]
  141. 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]
  142. 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]
  143. class OneToOneSQL [A, B, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]
  144. 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]
  145. 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]
  146. 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]
  147. 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]
  148. class OneToXSQL [A, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]

    Endpoint of one-to-x APIs

  149. 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()
  150. trait ParameterBinderFactory [A] extends AnyRef
    Annotations
    @implicitNotFound( ... )
  151. trait ParameterBinderWithValue extends ParameterBinder

    ParameterBinder which holds a value to bind.

  152. case class ReadOnlyNamedAutoSession (name: Any, settings: SettingsProvider = SettingsProvider.default) 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.

  153. class ResultSetCursor extends AnyRef

    java.sql.ResultSet cursor

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

    Exception which represents failure on ResultSet extraction.

  155. class ResultSetTraversable extends Traversable[WrappedResultSet] with LoanPattern

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

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

    SQL abstraction.

    SQL abstraction.

    A

    return type

  157. class SQLBatch extends AnyRef

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

  158. class SQLBatchWithGeneratedKey extends AnyRef
  159. class SQLExecution extends AnyRef

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

  160. trait SQLFormatter extends AnyRef

    SQL formatter

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

    Settings for SQL formatter

  162. final class SQLInterpolationString extends AnyVal

    SQLInterpolation definition

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

    SQL to Collection

    SQL to Collection

    A

    return type

    E

    extractor settings

  164. class SQLToCollectionImpl [A, E <: WithExtractor] extends SQL[A, E] with SQLToCollection[A, E]
  165. 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

  166. 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

  167. 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

  168. 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

  169. trait SQLToResult [A, E <: WithExtractor, C[_]] extends SQL[A, E] with Extractor[A]
  170. 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

  171. 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

  172. class SQLUpdate extends AnyRef

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

  173. class SQLUpdateWithGeneratedKey extends AnyRef

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

  174. final class ScalaBigDecimalConverter extends AnyVal

    BigDecimal converter.

  175. trait ScalaBigDecimalConverterImplicits extends AnyRef

    Implicit conversions for BigDecimal values.

  176. final class SettingsProvider extends AnyRef

    Note

    does not use case class for binary-compatibility keepability

  177. case class StatementExecutor (underlying: PreparedStatement, template: String, connectionAttributes: DBConnectionAttributes, singleParams: Seq[Any] = Nil, tags: Seq[String] = Nil, isBatch: Boolean = false, settingsProvider: SettingsProvider = SettingsProvider.default) 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

  178. 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

  179. class TimeZoneConverter extends AnyRef

    TimeZone converter for SQL Timestamp

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

    Settings for timezone conversion

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

    Exception which represents too many rows returned.

  182. class Tx extends AnyRef

    DB Transaction abstraction.

  183. trait TxBoundary [A] extends AnyRef

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

  184. trait TypeBinder [+A] extends AnyRef

    Type binder for java.sql.ResultSet.

  185. class UnexpectedNullValueException extends Exception
  186. final class UnixTimeInMillisConverter extends AnyVal

    Unix Time Converter to several types.

  187. trait UnixTimeInMillisConverterImplicits extends AnyRef

    Implicit conversions for date time values.

  188. sealed trait WithExtractor extends AnyRef

    Represents an extractor is already specified or not

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

    java.sql.ResultSet wrapper.

Value Members

  1. object AutoSession extends AutoSession
  2. object Binders

    Provides factories of Binders and built-in Binders.

  3. object BoneCPConnectionPoolFactory extends ConnectionPoolFactory

    Connection Pool Factory

    Connection Pool Factory

    See also

    https://github.com/wwadge/bonecp

  4. object Commons2ConnectionPoolFactory extends ConnectionPoolFactory

    Connection Pool Factory

    Connection Pool Factory

    See also

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

  5. object CommonsConnectionPoolFactory extends ConnectionPoolFactory

    Connection Pool Factory

    Connection Pool Factory

    See also

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

  6. 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/

  7. object ConnectionPoolFactoryRepository

    ConnectionPoolFactoryRepository

  8. 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
      }
    }
  9. object DBSession
  10. object GeneralizedTypeConstraintsForWithExtractor

    Generalized type constraints for WithExtractor

  11. object GlobalSettings

    GlobalSettings for this library

  12. object JDBCUrl extends Serializable

    Companion object of JDBC URL

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

    No Connection Pool Context

  16. object NoSession extends DBSession with Product with Serializable

    Represents that there is no active session.

  17. object OneToManies10SQL
  18. object OneToManies10SQLToCollection
  19. object OneToManies10SQLToList
  20. object OneToManies10SQLToOption
  21. object OneToManies10SQLToTraversable
  22. object OneToManies11SQL
  23. object OneToManies11SQLToCollection
  24. object OneToManies11SQLToList
  25. object OneToManies11SQLToOption
  26. object OneToManies11SQLToTraversable
  27. object OneToManies12SQL
  28. object OneToManies12SQLToCollection
  29. object OneToManies12SQLToList
  30. object OneToManies12SQLToOption
  31. object OneToManies12SQLToTraversable
  32. object OneToManies13SQL
  33. object OneToManies13SQLToCollection
  34. object OneToManies13SQLToList
  35. object OneToManies13SQLToOption
  36. object OneToManies13SQLToTraversable
  37. object OneToManies14SQL
  38. object OneToManies14SQLToCollection
  39. object OneToManies14SQLToList
  40. object OneToManies14SQLToOption
  41. object OneToManies14SQLToTraversable
  42. object OneToManies15SQL
  43. object OneToManies15SQLToCollection
  44. object OneToManies15SQLToList
  45. object OneToManies15SQLToOption
  46. object OneToManies15SQLToTraversable
  47. object OneToManies16SQL
  48. object OneToManies16SQLToCollection
  49. object OneToManies16SQLToList
  50. object OneToManies16SQLToOption
  51. object OneToManies16SQLToTraversable
  52. object OneToManies17SQL
  53. object OneToManies17SQLToCollection
  54. object OneToManies17SQLToList
  55. object OneToManies17SQLToOption
  56. object OneToManies17SQLToTraversable
  57. object OneToManies18SQL
  58. object OneToManies18SQLToCollection
  59. object OneToManies18SQLToList
  60. object OneToManies18SQLToOption
  61. object OneToManies18SQLToTraversable
  62. object OneToManies19SQL
  63. object OneToManies19SQLToCollection
  64. object OneToManies19SQLToList
  65. object OneToManies19SQLToOption
  66. object OneToManies19SQLToTraversable
  67. object OneToManies20SQL
  68. object OneToManies20SQLToCollection
  69. object OneToManies20SQLToList
  70. object OneToManies20SQLToOption
  71. object OneToManies20SQLToTraversable
  72. object OneToManies21SQL
  73. object OneToManies21SQLToCollection
  74. object OneToManies21SQLToList
  75. object OneToManies21SQLToOption
  76. object OneToManies21SQLToTraversable
  77. object OneToManies2SQL
  78. object OneToManies2SQLToCollection
  79. object OneToManies2SQLToList
  80. object OneToManies2SQLToOption
  81. object OneToManies2SQLToTraversable
  82. object OneToManies3SQL
  83. object OneToManies3SQLToCollection
  84. object OneToManies3SQLToList
  85. object OneToManies3SQLToOption
  86. object OneToManies3SQLToTraversable
  87. object OneToManies4SQL
  88. object OneToManies4SQLToCollection
  89. object OneToManies4SQLToList
  90. object OneToManies4SQLToOption
  91. object OneToManies4SQLToTraversable
  92. object OneToManies5SQL
  93. object OneToManies5SQLToCollection
  94. object OneToManies5SQLToList
  95. object OneToManies5SQLToOption
  96. object OneToManies5SQLToTraversable
  97. object OneToManies6SQL
  98. object OneToManies6SQLToCollection
  99. object OneToManies6SQLToList
  100. object OneToManies6SQLToOption
  101. object OneToManies6SQLToTraversable
  102. object OneToManies7SQL
  103. object OneToManies7SQLToCollection
  104. object OneToManies7SQLToList
  105. object OneToManies7SQLToOption
  106. object OneToManies7SQLToTraversable
  107. object OneToManies8SQL
  108. object OneToManies8SQLToCollection
  109. object OneToManies8SQLToList
  110. object OneToManies8SQLToOption
  111. object OneToManies8SQLToTraversable
  112. object OneToManies9SQL
  113. object OneToManies9SQLToCollection
  114. object OneToManies9SQLToList
  115. object OneToManies9SQLToOption
  116. object OneToManies9SQLToTraversable
  117. object OneToManySQL
  118. object OneToManySQLToCollection
  119. object OneToManySQLToList
  120. object OneToManySQLToOption
  121. object OneToManySQLToTraversable
  122. object OneToOneSQL
  123. object OneToOneSQLToCollection
  124. object OneToOneSQLToList
  125. object OneToOneSQLToOption
  126. object OneToOneSQLToTraversable
  127. object OneToXSQL
  128. object ParameterBinder

    ParameterBinder factory.

  129. object ParameterBinderFactory extends LowPriorityImplicitsParameterBinderFactory1
  130. 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.

  131. 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
      }
    }
  132. object SQLBatch
  133. object SQLBatchWithGeneratedKey
  134. object SQLExecution
  135. object SQLFormatterSettings extends Serializable
  136. 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.

  137. object SQLToCollectionImpl
  138. object SQLToListImpl
  139. object SQLToOptionImpl
  140. object SQLToTraversableImpl
  141. object SQLUpdate
  142. object SQLUpdateWithGeneratedKey
  143. object ScalikejdbcBuildInfo extends Product with Serializable

    This object was generated by sbt-buildinfo.

  144. object SettingsProvider
  145. object StatementExecutor extends Serializable

    Companion object.

  146. object StringSQLRunner extends Serializable
  147. object ThreadLocalDB

    Thread-local DB.

  148. object TimeZoneConverter
  149. object TxBoundary

    TxBoundary type class instances.

  150. object TypeBinder extends LowPriorityTypeBinderImplicits with UnixTimeInMillisConverterImplicits

    Type binder for java.sql.ResultSet.

  151. object UnixTimeInMillisConverterImplicits extends UnixTimeInMillisConverterImplicits

Ungrouped