Package com.rosivanyshyn.db.manager
Class MySQLDBManagerImpl
java.lang.Object
com.rosivanyshyn.db.manager.MySQLDBManagerImpl
- All Implemented Interfaces:
DBManager
Database connection manager.
Configure Hikari connection pool and provides access to it
Configure Hikari connection pool and provides access to it
-
Method Summary
Modifier and TypeMethodDescriptionGet configured database connection with exception handlingstatic MySQLDBManagerImplReturn instance of manager
-
Method Details
-
getInstance
Return instance of manager- Returns:
- manager instance
-
getConnection
Description copied from interface:DBManagerGet configured database connection with exception handling- Specified by:
getConnectionin interfaceDBManager- Returns:
- database connection
-