All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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