Skip to content

Latest commit

 

History

History
57 lines (29 loc) · 2.07 KB

_index.md

File metadata and controls

57 lines (29 loc) · 2.07 KB

Index

Activate is a framework to persist objects in Scala.

To use Activate, first you have to define a Persistence Context.

To define a persistent entity you just have to extend the Entity trait.

All entity creation, modification, read or query must be executed inside a transaction, otherwise a RequiredTransactionException will be thrown.

Activate provides a Design by Contract (DbC) mechanism to achieve validation.

Activate queries are consistent, even with entities created in the current transaction, so a new entity can be returned in a query.

The activate-test module provides an infrastructure to ease writing tests with Activate.

Migration is the storage schema evolution mechanism provided by Activate.

Activate uses memory efficiently by maintaining soft references for the entities that are loaded from the storage.

Activate supports mass update/delete statements.

The “activate-play” component has some classes to facilitate the Activate usage with the Play Framework 2.2.

The “activate-lift” module has the EntityForm that provides a easy way to handle lift entity forms.

The spray-json integration is a easy way to manipulate entities from/to json.

Activate is a Software Transactional Memory with efficient memory usage and pluggable persistence.