![JAR search and dependency download from the Maven repository](/logo.png)
com.github.tototoshi.fixture.Database.scala Maven / Gradle / Ivy
package com.github.tototoshi.fixture
import java.sql.{ Connection, DriverManager }
private[fixture] class Database(driver: String, url: String, username: String, password: String) {
def getConnection(): Connection = {
Class.forName(driver)
DriverManager.getConnection(url, username, password)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy