scalikejdbc

package scalikejdbc

Visibility
  1. Public
  2. All

Type Members

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

    Active session implementation of scalikejdbc.DBSession.

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

    All output decisions are unsupported by default.

  3. class AuthenticatedDataSourceConnectionPool extends ConnectionPool

    Connection Pool using external DataSource

  4. class BoneCPConnectionPool extends ConnectionPool

    BoneCP Connection Pool

  5. class Commons2ConnectionPool extends ConnectionPool

    Commons DBCP Connection Pool

  6. class CommonsConnectionPool extends ConnectionPool

    Commons DBCP Connection Pool

  7. abstract class ConnectionPool extends AnyRef

    Connection Pool

  8. trait ConnectionPoolContext extends AnyRef

    Connection pool context

  9. trait ConnectionPoolFactory extends AnyRef

    Connection Pool Factory

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

    Settings for ConnectionPool

  11. case class DB(conn: Connection) extends DBConnection with Product with Serializable

    Basic Database Accessor

  12. trait DBConnection extends LogSupport with LoanPattern

    Basic Database Accessor

  13. trait DBSession extends LogSupport with LoanPattern

    DB Session

  14. class DataSourceConnectionPool extends ConnectionPool

    Connection Pool using external DataSource

  15. trait EntityEquality extends AnyRef

    Entity identifier provider for equality (especially for scalikejdbc.

  16. trait HasExtractor extends WithExtractor

    Represents that this SQL already has an extractor

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

    Exception which represents that an illegal relationship is found.

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

    Exception which represents invalid key is specified.

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

    JDBC Settings

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

    JDBC URL which contains host, port and database name

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

    Utility to escape like condition special characters.

  22. trait LoanPattern extends AnyRef

    Loan pattern implementation

  23. final class LocalTimeConverter extends AnyVal

    org.

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

  25. trait LowPriorityTypeBinderImplicits extends AnyRef

  26. case class MultipleConnectionPoolContext(contexts: (Any, ConnectionPool)*) extends ConnectionPoolContext with Product with Serializable

    Multiple connection pool context

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

    Settings for Name binding SQL validator

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

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

    Named Basic DB Accessor

  30. trait NoExtractor extends WithExtractor

    Represents that this SQL doesn't have an extractor yet

  31. class OneToManies2SQL[A, B1, B2, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]

  32. class OneToManies2SQLToList[A, B1, B2, E <: WithExtractor, Z] extends SQL[Z, E] with SQLToList[Z, E] with OutputDecisions[Z, E] with OneToManies2Extractor[A, B1, B2, E, Z]

  33. 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]

  34. 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]

  35. class OneToManies3SQL[A, B1, B2, B3, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]

  36. 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]

  37. 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]

  38. 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]

  39. class OneToManies4SQL[A, B1, B2, B3, B4, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]

  40. 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]

  41. 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]

  42. 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]

  43. class OneToManies5SQL[A, B1, B2, B3, B4, B5, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]

  44. 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]

  45. 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]

  46. 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]

  47. class OneToManies6SQL[A, B1, B2, B3, B4, B5, B6, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]

  48. 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]

  49. 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]

  50. 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]

  51. class OneToManies7SQL[A, B1, B2, B3, B4, B5, B6, B7, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]

  52. 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]

  53. 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]

  54. 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]

  55. class OneToManies8SQL[A, B1, B2, B3, B4, B5, B6, B7, B8, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]

  56. 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]

  57. 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]

  58. 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]

  59. class OneToManies9SQL[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]

  60. 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]

  61. 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]

  62. 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]

  63. class OneToManySQL[A, B, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]

  64. 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]

  65. 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]

  66. 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]

  67. class OneToOneSQL[A, B, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]

  68. 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]

  69. 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]

  70. 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]

  71. class OneToXSQL[A, E <: WithExtractor, Z] extends SQL[Z, E] with AllOutputDecisionsUnsupported[Z, E]

    Endpoint of one-to-x APIs

  72. trait ParameterBinder[A] extends AnyRef

    ParameterBinder which enables customizing StatementExecutor#binParams.

  73. 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 connnection pool will be started.

  74. class ResultSetCursor extends AnyRef

    java.

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

    Exception which represents failure on ResultSet extraction.

  76. class ResultSetTraversable extends Traversable[WrappedResultSet] with LoanPattern

    scala.

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

    SQL abstraction.

  78. class SQLBatch extends AnyRef

    SQL which execute java.

  79. class SQLExecution extends AnyRef

    SQL which execute java.

  80. trait SQLFormatter extends AnyRef

    SQL formatter

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

    Settings for SQL formatter

  82. trait SQLToList[A, E <: WithExtractor] extends SQL[A, E] with Extractor[A]

    SQL to List

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

    SQL which execute java.

  84. trait SQLToOption[A, E <: WithExtractor] extends SQL[A, E] with Extractor[A]

    SQL to Option

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

    SQL which execute java.

  86. trait SQLToTraversable[A, E <: WithExtractor] extends SQL[A, E] with Extractor[A]

    SQL to Traversable

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

    SQL which execute java.

  88. class SQLUpdate extends AnyRef

    SQL which execute java.

  89. class SQLUpdateWithGeneratedKey extends AnyRef

    SQL which execute java.

  90. final class ScalaBigDecimalConverter extends AnyVal

    BigDecimal converter.

  91. trait ScalaBigDecimalConverterImplicits extends AnyRef

    Implicit conversions for BigDecimal values.

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

    java.

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

    String SQL Runner

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

    Exception which represents too many rows returned.

  95. class Tx extends AnyRef

    DB Transaction abstraction.

  96. trait TypeBinder[+A] extends AnyRef

    Type binder for java.

  97. class UnexpectedNullValueException extends Exception

  98. final class UnixTimeInMillisConverter extends AnyVal

    Unix Time Converter to several types.

  99. trait UnixTimeInMillisConverterImplicits extends AnyRef

    Implicit conversions for date time values.

  100. sealed trait WithExtractor extends AnyRef

    Represents an extractor is already specified or not

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

    java.

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

  3. object Commons2ConnectionPoolFactory extends ConnectionPoolFactory

    Connection Pool Factory

  4. object CommonsConnectionPoolFactory extends ConnectionPoolFactory

    Connection Pool Factory

  5. object ConnectionPool extends LogSupport

    Connection Pool

  6. object ConnectionPoolFactoryRepository

    ConnectionPoolFactoryRepository

  7. object DB extends LoanPattern with Serializable

    Basic Database Accessor

  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 ReadOnlyAutoSession extends DBSession with Product with Serializable

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

  19. object SQL

    SQL abstraction's companion object.

  20. object SQLFormatterSettings extends Serializable

  21. object SQLTemplateParser extends JavaTokenParsers with LogSupport

    SQL Template Parser.

  22. object StatementExecutor extends Serializable

    Companion object.

  23. object StringSQLRunner extends Serializable

  24. object ThreadLocalDB

    Thread-local DB.

  25. object TypeBinder extends LowPriorityTypeBinderImplicits with UnixTimeInMillisConverterImplicits

    Type binder for java.

  26. package globalsettings

  27. package metadata

Ungrouped