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. class BoneCPPlugin extends DBPlugin

    BoneCP implementation of DBPlugin that provides a DBApi.

  2. trait DBApi extends AnyRef

    The Play Database API manages several connection pools.

  3. trait DBPlugin extends Plugin

    Generic DBPlugin interface

  4. trait HasInternalConnection extends AnyRef

    Provides an interface for retrieving the jdbc driver's implementation of java.

Value Members

  1. object DB

    Provides a high-level API for getting JDBC connections.

  2. package evolutions

Inherited from AnyRef

Inherited from Any

Ungrouped