|
Project Information
Featured
|
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- DataNucleus Access Platform 1 / 2
- EclipseLink 1 / 2
- Hibernate 3.3 / 3.5+
- Apache OpenJPA 1 / 2
- Oracle TopLink 11g
- Avajé Ebeans
All names are trademarks or registered trademarks of their respective owners.
|