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

scalikejdbc.DataSourceCloser.scala Maven / Gradle / Ivy

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

/**
 * Resource manager which closes a DataSource.
 */
trait DataSourceCloser extends AutoCloseable {
  def close(): Unit
}

/**
 * Default DataSourceCloser.
 */
case object DefaultDataSourceCloser extends DataSourceCloser {
  def close(): Unit = throw new UnsupportedOperationException
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy