Persist Eval Template

Evaluation template for Object Oriented Persistency Systems (this includes ODBMS, Object-Relational-Mappers, and others).

Prerequisites

Installation:

download <quick-start-package>

possible Requirements:

  • self-contained: everything needed within one folder no influence on current development system
  • embedded basic data-store
  • no configuration needed
  • flexible, compact samples explore them from command-line

Create Project

setup a new project

Class

Define a class with methods and data attributes

declare the class as persistent

Preparation

build everything, including database, with a single command

Usage

CRUD: create, retrieve, update and delete objects

Associations 1:1

Declaration define a class

declare it as persistent

Associate new class to the first one

Evolution

update everything, including database, with a single command

existent data is kept

Usage CRUD: create, retrieve, update and delete object

Associations 1:N

Like "Associations 1:1", but with 1:N

Associations M:N

Like "Associations 1:1", but with M:N

Further Relevant Constructs

Similar to "Associations 1:1", but with steps specific to construct

Migration

migrate to another data-store

Declaration declare target data-store

Preparation take necessary step

Deployment copies database structure & content whilst application is suspended

whilst application is running (Hot Deployment)

Legacy

Reverse Engineer a relational DBMS to OO Classes

adopt your legacy-data to convenient jamPersist Objects access data whilst keeping legacy-app active

final migration whilst eliminating need for legacy-app