open fun getConnection(): Connection
Overrides AbstractDriverBasedDataSource.getConnection
open fun getConnection(username: String, password: String): Connection
Overrides AbstractDriverBasedDataSource.getConnection
Specifying a custom username and password doesn't make sense with a single Connection. Returns the single Connection if given the same username and password; throws a SQLException else.