Trivial Persist

A Trivial Guide for Developers

Marty Lamb

Abstract

A quick introduction to an incredibly simple Java object persistence mechanism called Trivial Persist.


Table of Contents

Formalities
License
1. Introduction
2. Creating a Store
Defining Tables
Initializing the Store
3. Updating Records
Creating new Records
Using RecordInitializers to Automatically Set Default Values
Modifying Records
Saving Records
Deleting Records
4. Querying Tables
RecordFilters
Comparators
Named RecordFilters and Comparators
5. Flexibility through BeanShell Scripting
6. Considerations
Thread Safety
Access to Data by Other Processes