Class DBConnection
java.lang.Object
com.example.wellbeing_project.universal.DBConnection
Class for managing connection to the database.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DBConnection
public DBConnection()
-
-
Method Details
-
getInstance
Returns the database connection instance.- Returns:
- The database Connection.
- Throws:
RuntimeException
- if there's an error connecting to the database.
-