The Play Slick module makes Slick a first-class citizen of Play. It consists of two features:
- Integration of Slick into Play's application lifecycle.
- Support for Play database evolutions.
Because Slick creates and manages both a connection pool and a thread pool, integrating Slick with Play boils down to ensure that all resources allocated by Slick are shutted down when a Play application is stopped (or reloaded).
The plugin has its own release cycle and therefore is not integrated into either core Play or Slick.
For Play 2.4 and Slick 3.0.1+ (with Scala 2.10 or Scala 2.11):
"com.typesafe.play" %% "play-slick" % "1.0.1"
"com.typesafe.play" %% "play-slick-evolutions" % "1.0.1"For Play 2.4 and Slick 3.1-M2 (with Scala 2.10 or Scala 2.11):
"com.typesafe.play" %% "play-slick" % "1.1.0-M2"
"com.typesafe.play" %% "play-slick-evolutions" % "1.1.0-M2"The Play Slick plugin supports several different versions of Play and Slick.
| Plugin version | Play version | Slick version | Scala version | Maintained |
|---|---|---|---|---|
| 1.1.0-M2 | 2.4.x | 3.1.0-M2 | 2.10.x/2.11.x | Yes |
| 1.1.0-M1 | 2.4.x | 3.1.0-M1 | 2.10.x/2.11.x | No |
| 1.0.1 | 2.4.x | 3.0.1+ | 2.10.x/2.11.x | Yes |
| 1.0.0 | 2.4.x | 3.0.0 | 2.10.x/2.11.x | No |
| 0.8.0 | 2.3.x | 2.1.x | 2.10.x/2.11.x | No |
| 0.7.0 | 2.3.x | 2.0.x | 2.10.x | No |
| 0.6.1 | 2.2.x | 2.0.x | 2.10.x | No |
| 0.5.1 | 2.2.x | 1.0.x | 2.10.x | No |
Note that the + next to a version means that the specified version and later trailing point releases are supported by
the same version of the play-slick plugin.
The documentation for the latest release is available here.
Documentation for v0.8 is available in the project's wiki.
Copyright: Typesafe 2013-2015 License: Apache License 2.0, http://www.apache.org/licenses/LICENSE-2.0.html
