Skip to content

Commit

Permalink
Release 1.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
gonmarques committed Jan 26, 2017
1 parent a14ecb6 commit 45a1db6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions README.md
Expand Up @@ -5,22 +5,22 @@
|MySQL, Oracle, DB2, PostgreSQL, Derby, H2, Hsql|Travis CI|[![Build status](https://travis-ci.org/gonmarques/slick-repo.svg?branch=master)](https://travis-ci.org/gonmarques/slick-repo)|
|SQLServer|AppVeyor|[![Build status](https://ci.appveyor.com/api/projects/status/3httes30fa1foes1/branch/master?svg=true)](https://ci.appveyor.com/project/gonmarques/slick-repo)|

[![Coverage Status](https://coveralls.io/repos/github/gonmarques/slick-repo/badge.svg?branch=master)](https://coveralls.io/github/gonmarques/slick-repo)   [![Latest Release](https://img.shields.io/badge/release-v1.2.5-007ec6.svg)](https://search.maven.org/#search%7Cga%7C1%7Cbyteslounge%20slick-repo)   [![MIT License](https://img.shields.io/badge/license-MIT-7c39ef.svg)](http://opensource.org/licenses/MIT)
[![Coverage Status](https://coveralls.io/repos/github/gonmarques/slick-repo/badge.svg?branch=master)](https://coveralls.io/github/gonmarques/slick-repo)   [![Latest Release](https://img.shields.io/badge/release-v1.2.6-007ec6.svg)](https://search.maven.org/#search%7Cga%7C1%7Cbyteslounge%20slick-repo)   [![MIT License](https://img.shields.io/badge/license-MIT-7c39ef.svg)](http://opensource.org/licenses/MIT)

Slick Repositories is an aggregation of common database operations in ready-to-be-used generic and type-safe repositories, best known as DAOs.

## Main features

- Provide common database operations like *save*, *update*, *find*, *delete* or *count* in a type-safe way
- Other operations like Transactions, Optimistic Locking (aka versioning), Pessimistic Locking or custom query/statement execution are also supported
- Other operations like Transactions, Batch Insert, Optimistic Locking (aka versioning), Pessimistic Locking or custom query/statement execution are also supported
- In order to maximize performance, all provided operations are backed by Slick compiled queries, as recommended in [Slick Documentation](http://slick.lightbend.com/doc/3.1.1/queries.html)

## Latest Release

The library releases are available at [Maven Central](https://search.maven.org/#search%7Cga%7C1%7Cbyteslounge%20slick-repo) for Scala **2.10**, **2.11** and **2.12**. In order to add the library as a dependency to your project:

```scala
libraryDependencies += "com.byteslounge" %% "slick-repo" % "1.2.5"
libraryDependencies += "com.byteslounge" %% "slick-repo" % "1.2.6"
```

## Introduction
Expand Down Expand Up @@ -126,6 +126,10 @@ The repositories support the following common database operations:

Deletes an entity

- `def batchInsert(entities: Seq[T]): DBIO[Option[Int]]`

Performs a batch insert of an arbitrary sequence of entities

## Custom queries

It is possible to define custom queries or statements inside a repository. Even queries that access multiple tables:
Expand Down
2 changes: 1 addition & 1 deletion project/Build.scala
Expand Up @@ -52,7 +52,7 @@ object Build extends Build {

name := "slick-repo",
description := "CRUD Repositories for Slick based persistence Scala projects",
version := "1.2.6-SNAPSHOT",
version := "1.2.6",

scalaVersion := "2.11.8",
crossScalaVersions := Seq("2.11.8", "2.12.1", "2.10.6"),
Expand Down

0 comments on commit 45a1db6

Please sign in to comment.