play.api

db

package db

Contains the JDBC database access API.

Example, retrieving a connection from the 'customers' datasource:

val conn = DB.getConnection("customers")
Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. db
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait BoneCPComponents extends AnyRef

    BoneCP components (for compile-time injection).

  2. class BoneCPModule extends Module

    BoneCP runtime inject module.

  3. class BoneConnectionPool extends ConnectionPool

    BoneCP implementation of connection pool interface.

  4. trait ConnectionPool extends AnyRef

    Connection pool API for managing data sources.

  5. trait DBApi extends AnyRef

    DB API for managing application databases.

  6. class DBApiProvider extends Provider[DBApi]

    Inject provider for DB implementation of DB API.

    Inject provider for DB implementation of DB API.

    Annotations
    @Singleton()
  7. trait DBComponents extends AnyRef

    DB components (for compile-time injection).

  8. class DBModule extends Module

    DB runtime inject module.

  9. trait Database extends AnyRef

    Database API.

  10. class DefaultDBApi extends DBApi

    Default implementation of the DB API.

  11. abstract class DefaultDatabase extends Database

    Default implementation of the database API.

    Default implementation of the database API. Provides driver registration and connection methods.

  12. type NamedDatabase = db.NamedDatabase

  13. class NamedDatabaseProvider extends Provider[Database]

    Inject provider for named databases.

  14. class PooledDatabase extends DefaultDatabase

    Default implementation of the database API using a connection pool.

Value Members

  1. object BoneConnectionPool

  2. object DB

    Provides a high-level API for getting JDBC connections.

    Provides a high-level API for getting JDBC connections.

    For example:

    val conn = DB.getConnection("customers")
  3. object Database

    Creation helpers for manually instantiating databases.

  4. object DefaultDBApi

  5. package evolutions

  6. package slick

Inherited from AnyRef

Inherited from Any

Ungrouped