Package com.io7m.idstore.database.api

# Interface IdDatabaseConnectionType

All Superinterfaces:
  `AutoCloseable`

public interface IdDatabaseConnectionType extends AutoCloseable
The type of database connections.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `close()`
  `IdDatabaseTransactionType`
  `openTransaction()`
  Begin a new transaction.

- ## Method Details

  - ### close

    void close() throws IdDatabaseException
    Specified by:
      `close` in interface `AutoCloseable`
    Throws:
      `IdDatabaseException`

  - ### openTransaction

    IdDatabaseTransactionType openTransaction() throws IdDatabaseException
    Begin a new transaction.
    Returns:
      The transaction
    Throws:
      `IdDatabaseException` - On errors