My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads
Wiki pages

This project provides code samples of how to use well-known Java persistence frameworks. This project aims at easing the first steps when evaluating a (new) Java persistence framework. The provided samples will exhaustively exemplify all general features of these persistence frameworks. All samples are based on Ant and include Eclipse project settings.

Samples

  • standard use cases
    • hello world - setup tooling and runtime environment
    • hidden object identity
    • optimistic locking / pessimistic locking
    • attach / detach / merge
    • composite primary key
  • fields
    • date/time
    • big decimal
    • large binary objects/large character objects
    • enumerations
  • relationships
    • one to one/ one to many / many to many
    • list of primitives / structs
  • inheritance
    • new table (joined) / superclass table / subclass table / mixed
  • querying
    • is-null queries
    • object queries
    • bulk update/delete queries
    • collection queries - is-empty, none-of, any-of, all-of
    • downcast queries
  • optimizations
    • eager fetching / lazy loading
    • fetch plans

Used Frameworks

All names are trademarks or registered trademarks of their respective owners.

Powered by Google Project Hosting