DatabaseManager

A class for managing the database connection using JDBI and HikariDataSource.

Constructors

Link copied to clipboard
open fun DatabaseManager(settingsManager: SettingsManager, backend: DatabaseBackend)
Constructs a DatabaseManager object and sets up a database connection using the given settings manager and backend.

Functions

Link copied to clipboard
Returns the status of the connection to the MySQL database.
Link copied to clipboard
open fun tryDataSourceName(className: String)
Helper method to try a data source until the right one is found

Properties

Link copied to clipboard
open val hikari: HikariDataSource
Link copied to clipboard
open val jdbi: Jdbi