Home - logitopia/jmortar-core-persistence GitHub Wiki

Introduction

Welcome to the JMortar Core Persistence wiki pages.

Contents

What is the core persistence library?

The "core" part signifies that this library is an integral JMortar library. This library gives you the tools to simply and easily persist data to a database.

What does this library do?

Using the persistence tools, you can simply and easily write data to the database. This library has been designed from the ground up to make persisting data as simple and easy as possible. Couple that with allowing you to have the most amount of control. It only seeks to abstract you from the mundane.

Model Control

Control where data is stored from the place that you actually hold the data. A model will be annotated so that it knows which datastore the data should come from and how the data should be stored.

Simple Setup

JMortar allows you to simply configure your datasources, annotate your model and that’s it! We have a factory that searches the classpath and creates Data Access Objects and associated Data Access Components for all annotated models! Generic data query modelling This project contains a generic query model. This means that all data querying, regardless of the underlying datastore can be queried using one model. This stops the need for having bespoke querying.

Modular Data Access Functionality

With this libraries modular approach to data access functionality, you can easily restrict read or write access to single entities. You have simple, but effective control over the level of control you want the system to have on your persistent storage.