Salat alternatives and similar packages
Based on the "Database" category.
Alternatively, view Salat alternatives based on common mentions on social networks and blogs.
-
Slick
Slick (Scala Language Integrated Connection Kit) is a modern database query and access library for Scala -
Elastic4s
Elasticsearch Scala Client - Reactive, Non Blocking, Type Safe, HTTP Client -
PostgreSQL and MySQL async
Async database drivers to talk to PostgreSQL and MySQL in Scala. -
ScalikeJDBC
A tidy SQL-based DB access library for Scala developers. This library naturally wraps JDBC APIs and provides you easy-to-use APIs. -
scala-redis
A scala library for connecting to a redis server, or a cluster of redis nodes using consistent hashing on the client side. -
Phantom
Schema safe, type-safe, reactive Scala driver for Cassandra/Datastax Enterprise -
ReactiveMongo
:leaves: Non-blocking, Reactive MongoDB Driver for Scala -
rediscala
Non-blocking, Reactive Redis driver for Scala (with Sentinel support) -
Squeryl
A Scala DSL for talking with databases with minimum verbosity and maximum type safety -
SwayDB
Persistent and in-memory key-value storage engine for JVM that scales on a single machine. -
#<Sawyer::Resource:0x00007f161059a678>
Strong type constraints for Scala -
scredis
Non-blocking, ultra-fast Scala Redis client built on top of Akka IO, used in production at Livestream -
Scala-Forklift
Type-safe data migration tool for Slick, Git and beyond. -
Scruid
Scala + Druid: Scruid. A library that allows you to compose queries in Scala, and parse the result back into typesafe classes. -
Clickhouse-scala-client
Clickhouse Scala Client with Reactive Streams support -
Tepkin
Reactive MongoDB Driver for Scala built on top of Akka IO and Akka Streams. -
ScalaRelational
Type-Safe framework for defining, modifying, and querying SQL databases -
lucene4s
Light-weight convenience wrapper around Lucene to simplify complex tasks and add Scala sugar. -
GCP Datastore Akka Persistence Plugin
akka-persistence-gcp-datastore is a journal and snapshot store plugin for akka-persistence using google cloud firestore in datastore mode.
Static code analysis for 29 languages.
Do you think we are missing an alternative of Salat or a related project?
Popular Comparisons
README
Salat
Salat is a simple serialization library for case classes.
Salat currently supports bidirectional serialization for:
Goals
Simplicity. Flexibility. Consistency.
Your model there and back again should just work.
Get Salat
Salat publishes snapshots and releases to OSS Sontatype.
Stable Release
Available for Scala 2.10, 2.11 and 2.12. Based on Casbah 3.1.1, with support for Mongo 3.x
"com.github.salat" %% "salat" % "1.11.2"
Snapshot
Available for Scala 2.11 and 2.12. Based on Casbah 3.1.1, with support for Mongo 3.x
"com.github.salat" %% "salat" % "1.11.3-SNAPSHOT"
Legacy support
Package
Starting with version 1.10.0, the package for Salat has changed.
Version 1.10.x and Later
import salat._
Version 1.9.x and Earlier
import com.novus.salat._
Repositories
Salat has been hosted exclusively by Sonatype since version 0.0.8. Please remove all references to repo.novus.com
from your build files.
If you are not using sbt 0.11.2+, or you need a SNAPSHOT release, explicitly add OSS Sonatype to your resolvers:
resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
Scala 2.12.x
Based on Casbah 3.1.1.
"org.github.salat" %% "salat" % "1.11.2"
Scala 2.11.x
Based on Casbah 3.1.1.
"org.github.salat" %% "salat" % "1.11.2"
Based on Casbah 2.8.2.
"org.github.salat" %% "salat" % "1.10.0"
Scala 2.10.4
Based on Casbah 2.7.1.
"com.novus" %% "salat" % "1.9.10"
Scala 2.9.3
Based on Casbah 2.7.0.
"com.novus" %% "salat" % "1.9.7"
Scala 2.9.2
Based on Casbah 2.6.4.
"com.novus" %% "salat" % "1.9.5"
Scala 2.8.1
Based on Casbah 2.1.5-1.
"com.novus" %% "salat" % "0.0.8"
Play 2 plugin
Are you using Play framework? Make sure to see our Play support wiki page, and check out the play-salat plugin at cloudinsights/play-salat.
Documentation
See the wiki and the mailing list.
What does Salat support?
See Supported Types.
What doesn't Salat support?
We don't have the resources to support everything. Here are some things Salat doesn't do:
- Java compatibility
- non-case classes
- type aliases
- nested inner classes
- varags
- arrays
- multiple constructors
- tuples
Option
containing a collection (see collection support for workarounds)- relationship management like a traditional ORM
How does Salat work?
Salat uses the Product
trait implemented by case classes with the hi-fi type information found in pickled Scala signatures.
Details are thin on the ground, but here's where we got started:
- the source code for
scala.tools.scalap.scalax.rules.scalasig.ScalaSigParser
- SID # 10 (draft) - Storage of pickled Scala signatures in class files