Java Persistence/Ebean

From Wikibooks, open books for an open world
< Java Persistence
Jump to navigation Jump to search


Ebean is a Java ORM based on the JPA specification.

The goal of Ebean is to provide mapping compatible with JPA while providing a simpler API to use and learn.


  1. Why Ebean
  2. Example Model
  3. Quick Start - examples
  4. Mapping via JPA Annotations
  5. Query
    1. Basics
    2. Future - Asychronous query execution
    3. PagingList
    4. Aggregation - Group By
  6. Save and Delete
  7. Transactions
  8. Caching
  9. Using raw SQL