play.api

db

package db

Contains the JDBC database access API.

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

val conn = DB.getConnection("customers")
Visibility
  1. Public
  2. All

Type Members

  1. class BoneCPPlugin extends DBPlugin

    A DBPlugin implementation 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

Value Members

  1. object DB extends AnyRef

    Provides a high-level API for getting JDBC connections.

  2. package evolutions