# Interface CADatabaseConnectionType

All Superinterfaces:
  `AutoCloseable`

public interface CADatabaseConnectionType extends AutoCloseable
The type of database connections.

- ## Method Summary

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

- ## Method Details

  - ### close

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

  - ### openTransaction

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