Interface SQLDatabaseAPI
- All Known Implementing Classes:
MySqlDatabase
,SQLiteDatabase
public interface SQLDatabaseAPI
An interface representing an SQL database
-
Method Summary
Modifier and TypeMethodDescriptionGets a database connection
-
Method Details
-
getConnection
Gets a database connection- Returns:
A database connection
- Throws:
SQLException
-If unable to establish a database connection
-
getDriver
DatabaseDriver getDriver()- Returns:
The driver this database is using
-