active-slick-core


License

License

GroupId

GroupId

io.strongtyped
ArtifactId

ArtifactId

active-slick-core_2.10
Last Version

Last Version

0.3.0
Release Date

Release Date

Type

Type

jar
Description

Description

active-slick-core
active-slick-core
Project URL

Project URL

https://github.com/strongtyped/active-slick
Project Organization

Project Organization

io.strongtyped
Source Code Management

Source Code Management

https://github.com/strongtyped/active-slick.git

Download active-slick-core_2.10

How to add to project

<!-- https://jarcasting.com/artifacts/io.strongtyped/active-slick-core_2.10/ -->
<dependency>
    <groupId>io.strongtyped</groupId>
    <artifactId>active-slick-core_2.10</artifactId>
    <version>0.3.0</version>
</dependency>
// https://jarcasting.com/artifacts/io.strongtyped/active-slick-core_2.10/
implementation 'io.strongtyped:active-slick-core_2.10:0.3.0'
// https://jarcasting.com/artifacts/io.strongtyped/active-slick-core_2.10/
implementation ("io.strongtyped:active-slick-core_2.10:0.3.0")
'io.strongtyped:active-slick-core_2.10:jar:0.3.0'
<dependency org="io.strongtyped" name="active-slick-core_2.10" rev="0.3.0">
  <artifact name="active-slick-core_2.10" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.strongtyped', module='active-slick-core_2.10', version='0.3.0')
)
libraryDependencies += "io.strongtyped" % "active-slick-core_2.10" % "0.3.0"
[io.strongtyped/active-slick-core_2.10 "0.3.0"]

Dependencies

compile (2)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.10.5
com.typesafe.slick : slick_2.10 jar 3.0.0

test (2)

Group / Artifact Type Version
com.h2database : h2 jar 1.4.181
org.scalatest : scalatest_2.10 jar 2.2.1

Project Modules

There are no modules declared in this project.

ActiveSlick

Build Status

Gitter

ActiveSlick is a library that offers CRUD operations for Slick 3.x projects. The main goal is to provide some basic operations to manage the lifecycle of persisted objects (new/persisted/deleted/stale) and enable the implementation of the Active Record Pattern on Slick mapped case classes.

Documentation (WIP)

http://www.strongtyped.io/active-slick/

Main features

  • Basic CRUD and auxiliary methods - add/update/save, delete, findById, count and fetchAll (backed by Reactive Streams).
  • Generic Id type.
  • Optimistic locking my means of incremental version.
  • Before insert and update hooks.
  • ActiveRecord trait to enable the Active Record Pattern on mapped case classes via class extensions (pimp-my-library style)

Project artifact

The artifacts are published to Sonatype Repository. Simply add the following to your build.sbt.

As of version 0.3.x we don't support Slick 2.0 anymore. The differences between Slick 2.x and Slick 3.x are so huge that it makes impossible to support two versions.

  libraryDependencies += "io.strongtyped" %% "active-slick" % "0.3.5"

Source code for version 0.3.5 can be found at: https://github.com/strongtyped/active-slick/tree/v0.3.5

The version supporting Slick 2.0 is still available on Sonatype Repo. However, this documentation only covers the current series (i.e.: 0.3.x).

  libraryDependencies += "io.strongtyped" %% "active-slick" % "0.2.2"

Source code for version 0.2.2 can be found at: https://github.com/strongtyped/active-slick/tree/v0.2.2

Contribution policy

Contributions via GitHub pull requests are gladly accepted from their original author. Along with any pull requests, please state that the contribution is your original work and that you license the work to the project under the project's open source license. Whether or not you state this explicitly, by submitting any copyrighted material via pull request, email, or other means you agree to license the material under the project's open source license and warrant that you have the legal authority to do so.

io.strongtyped

Strong[Typed]

Strong[Typed] - Scala Training and Consultancy

Versions

Version
0.3.0