encyclopegia.org

Ebean

Ebean is an object–relational mapping product written in Java. It is designed to be simpler to use and understand than JPA (Java Persistence API) or JDO (Java Data Objects) products.

Ebean is an object–relational mapping product written in Java. It is designed to be simpler to use and understand than JPA (Java Persistence API) or JDO (Java Data Objects) products. ==Simple API== Ebean has a simpler API than JPA. It achieves this through its Session Less architecture. Ebean does not require a JPA EntityManager or JDO PersistenceManager and this removes the concepts of detached/attached beans and the issues associated with flushing/clearing and 'session management' of EntityManagers. This adds up to make Ebean's API much easier to learn, understand and use. ==Relational features== Although Ebean has full ORM features (equivalent to JPA) it also has incorporated 'SQL/Relational' features. The idea being that many development efforts require control over the exact sql, calling stored procedures or are more simply solved with 'Relational' approaches. The ultimate goal for Ebean is to combine the best ORM features from JPA with the best 'Relational' features from products like MyBatis into a single persistence framework. ==Object–relational mapping== Ebean uses the same mapping as JPA with its @Entity, @Table, @OneToMany etc. annotations and xml. The mapping of Entity beans should be compatible between Ebean and JPA. Going beyond JPA Ebean supports Java Generics and fetching "Partial" objects with its Query object. ==Examples== // find customer by id Customer customer = Ebean.find(Customer.class, 1); //Saving the changes of the customer object customer.save(); // more complex query with joins List order = Ebean.find(Order.class) .fetch("customer") .fetch("customer.billingAddress") .fetch("customer.shippingAddress") .fetch("details") .fetch("details.product", "name") .where().eq("shipDate", today) .findList(); ==See also== List of object–relational mapping software ==References== ==External links== GitHub page

References

No reference rows published for this article.

Cite this article

MLA

"Ebean." encyclopegia.org, 2025, https://encyclopegia.org/wiki/ebean. Accessed 24 November 2026.

Chicago

"Ebean." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/ebean.

APA

encyclopegia.org. (2025). Ebean. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/ebean

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Ya'akov Hazan

enwiki · references available

Seibu Yūrakuchō Line

enwiki · references available

Corozal American Cemetery and Memorial

enwiki · references available

Walking Back

enwiki · references available

Rolf-Dieter Heuer

enwiki · references available

Champagne in popular culture

enwiki · references available

RTÉ Concert Orchestra

enwiki · references available

Mostafa Gaafar

enwiki · references available

CJSQ-FM

enwiki · references available

Continuity theory

enwiki · references available

Elite One Championship 2006–2007

enwiki · references available

Here I Go Again (Mario song)

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1323280098 · 0.5 · snapshot enwiki-001323280098

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.