Apache Cayenne

Clone this repo:
  1. 8e6ba19 CAY-2070 Modeler sync function adds extraneous ObjRelationships inside the class hierarchy by Andrus Adamchik · 2 years, 5 months ago master
  2. c44ca2a Merge branch '92' by Andrus Adamchik · 2 years, 5 months ago
  3. b1b2168 refactoring for easier subclassing by Andrus Adamchik · 2 years, 5 months ago
  4. 34646fd CAY-2076 Implement Jetty HTTP/1.1 and HTTP/2 Client support for ROP Client by Savva Kolbachev · 2 years, 6 months ago
  5. edef6ae CAY-2076 Adding close() method to ROP API; Taking out some common methods to ROPUtil; by Savva Kolbachev · 2 years, 6 months ago

Build Status Maven Central

Apache Cayenne

Apache Cayenne is an open source persistence framework licensed under the Apache License, providing object-relational mapping (ORM) and remoting services. With a wealth of unique and powerful features, Cayenne can address a wide range of persistence needs. Cayenne seamlessly binds one or more database schemas directly to Java objects, managing atomic commit and rollbacks, SQL generation, joins, sequences, and more. With Cayenne's Remote Object Persistence, those Java objects can even be persisted out to clients via Web Services.

Cayenne is designed to be easy to use, without sacrificing flexibility or design. To that end, Cayenne supports database reverse engineering and generation, as well as a Velocity-based class generation engine. All of these functions can be controlled directly through the CayenneModeler, a fully functional GUI tool. No cryptic XML or annotation based configuration is required! An entire database schema can be mapped directly to Java objects within minutes, all from the comfort of the GUI-based CayenneModeler.

Cayenne supports numerous other features, including caching, a complete object query syntax, relationship pre-fetching, on-demand object and relationship faulting, object inheritance, database auto-detection, and generic persisted objects. Most importantly, Cayenne can scale up or down to virtually any project size. With a mature, 100% open source framework, an energetic user community, and a track record of solid performance in high-volume environments, Cayenne is an exceptional choice for persistence services.


Cayenne is available as free and open source under the Apache License, Version 2.0.


Full documentation in both pdf and html formats, tutorials, mailing lists and much more are available from our website at http://cayenne.apache.org/ . E.g. here is 3.1 Cayenne Guide.