Pluggable persistence in Scala
Latest commit 6fd207a Oct 18, 2015 @fwbrasil Merge pull request #183 from cailhuiris/master
MoyEntity -> MyEntity,
Failed to load latest commit information.
activate-cassandra-async/src/main/scala/net/fwbrasil/activate/storage/cassandra refactoring entity hierarchy Nov 29, 2013
activate-core/src/main fix #144 Sep 20, 2014
activate-docs MoyEntity -> MyEntity, Oct 18, 2015
activate-finagle-mysql/src/main/scala/net/fwbrasil/activate/storage/relational/async finagle mysql - fix pool config Jun 13, 2014
activate-graph/src/main/scala/net/fwbrasil/activate/storage/graph refactoring entity hierarchy Nov 29, 2013
activate-jackson/src/main/scala/net/fwbrasil/activate/json/jackson refactoring entity hierarchy Nov 29, 2013
activate-jdbc-async/src/main/scala/net/fwbrasil/activate/storage/relational/async fix eager initialization for async queries Jun 21, 2014
activate-jdbc/src/main/scala/net/fwbrasil/activate/storage/relational fix #154 Sep 19, 2014
activate-lift/src/main/scala/net/fwbrasil/activate/lift refactoring entity hierarchy Nov 29, 2013
activate-mongo-async/src/main/scala/net/fwbrasil/activate/storage/mongo/async reactivemongo 0.10.5.akka23-SNAPSHOT Jun 25, 2014
activate-mongo/src/main/scala/net/fwbrasil/activate/storage/mongo fix #93 Jan 30, 2014
activate-play/src/main/scala/net/fwbrasil/activate/play Update to Play 2.3.2 Jul 29, 2014
activate-prevalent/src/main/scala/net/fwbrasil/activate/storage/prevalent prevalent storage - fix class loading for sbt Feb 9, 2014
activate-prevayler/src/main/scala refactoring Jan 28, 2014
activate-slick/src/main/scala/net/fwbrasil/activate/slick wip - scala 2.11 support Sep 17, 2014
activate-spray-json/src/main/scala/net/fwbrasil/activate/json/spray wip - scala 2.11 support Sep 17, 2014
activate-test remove unused import Jan 23, 2015
project update sbt version Sep 21, 2014
src/main/ls ls version Apr 27, 2012
.gitignore minor Sep 8, 2012
.travis.yml update travis config (scala version) Sep 21, 2014 1.6 version Jun 13, 2014
LICENSE-LGPL Changing to LGPL Jun 7, 2011 Added Gitter badge Jan 14, 2015

Activate Persistence Framework


Activate splash

Documentation (index):


Activate is a framework to persist objects in Scala. It is a STM (Software Transactional Memory) durable, with pluggable persistence. Its core is the RadonSTM, which provides a powerful mechanism for controlling transactions in memory, analogous to the transactions of databases, to do optimistic concurrency control. The durability of transactions (persistence) is pluggable and can use persistence in different paradigms such as relational (JDBC), prevalence (Prevayler) and non-relational (MongoDB).


The main benefits of the framework are:

  • Atomic, consistent, isolated and durable transactions. You can use entities without worrying about concurrency issues.
  • Entities are always consistent in memory and in the persistence layer. For example, if rollback occurs, entities in memory stay consistent.
  • Transaction propagation control, including nested transactions.
  • Entities are lazy loaded and initialized automatically when needed.
  • Queries are type-safe and consistent, even with objects created in the current transaction. Therefore, an entity created in the same transaction may be returned in a query.
  • The available memory is used efficiently, minimizing the conversation with the storage and maximizing performance.


Use sbt 0.11.2 to build Activate. Use the command "eclipse" to generate the eclipse project. To run tests, you have to provide the databases instances for the contexts defined on the net.fwbrasil.activate.ActivateTest.contexts method of the activate-tests project.


The code is licensed under LGPL.