A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.playframework.com/documentation/2.5.x/api/scala/play/api/db/Database.html below:

Database - play.api.db.Database

  • abstract def dataSource: DataSource

    The underlying JDBC data source for this database.

  • abstract def getConnection(autocommit: Boolean): Connection

    Get a JDBC connection from the underlying data source.

  • abstract def getConnection(): Connection

    Get a JDBC connection from the underlying data source.

  • abstract def name: String

    The configuration name for this database.

  • abstract def shutdown(): Unit

    Shutdown this database, closing the underlying data source.

  • abstract def url: String

    The JDBC connection URL this database, i.e.

  • abstract def withConnection[A](autocommit: Boolean)(block: (Connection) ⇒ A): A

    Execute a block of code, providing a JDBC connection.

  • abstract def withConnection[A](block: (Connection) ⇒ A): A

    Execute a block of code, providing a JDBC connection.

  • abstract def withTransaction[A](block: (Connection) ⇒ A): A

    Execute a block of code in the scope of a JDBC transaction.


  • RetroSearch is an open source project built by @garambo | Open a GitHub Issue

    Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

    HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4