Package com.rosivanyshyn.db.manager

# Class MySQLDBManagerImpl

java.lang.Object
com.rosivanyshyn.db.manager.MySQLDBManagerImpl

All Implemented Interfaces:
  `DBManager`

public class MySQLDBManagerImpl extends Object implements DBManager
Database connection manager.
Configure Hikari connection pool and provides access to it

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Connection`
  `getConnection()`
  Get configured database connection with exception handling
  `static MySQLDBManagerImpl`
  `getInstance()`
  Return instance of manager

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### getInstance

    public static MySQLDBManagerImpl getInstance()
    Return instance of manager
    Returns:
      manager instance

  - ### getConnection

    public Connection getConnection()
    Description copied from interface: `DBManager`
    Get configured database connection with exception handling
    Specified by:
      `getConnection` in interface `DBManager`
    Returns:
      database connection