playframework / anorm

The Anorm database library

GitHub

Anorm

Anorm is a simple data access layer that uses plain SQL to interact with the database and provides an API to parse and transform the resulting datasets.

Usage

In a projects built with SBT, dependency to Anorm can be added as following:

libraryDependencies ++= Seq(
  "org.playframework.anorm" %% "anorm" % ReplaceByAnormVersion)

Build manually

Anorm can be built from this source repository.

sbt publish-local

To run the tests, use:

sbt test

Travis: Travis build status

Documentation

To run the documentation server, run:

sbt docs/run

To test the documentation code samples, run:

sbt docs/test