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

scalikejdbc.Commons2ConnectionPoolFactory.scala Maven / Gradle / Ivy

There is a newer version: 4.3.2
Show newest version
package scalikejdbc

/**
 * Connection Pool Factory
 *
 * @see [[https://commons.apache.org/proper/commons-dbcp/]]
 */
object Commons2ConnectionPoolFactory extends ConnectionPoolFactory {

  override def apply(
    url: String,
    user: String,
    password: String,
    settings: ConnectionPoolSettings = ConnectionPoolSettings()
  ): Commons2ConnectionPool = {
    new Commons2ConnectionPool(url, user, password, settings)
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy