Apache Cayenne

from Wikipedia, the free encyclopedia
Apache Cayenne

Apache Cayenne logo
CayenneModeler screenshot.png
Basic data

developer Apache Software Foundation
Publishing year January 7, 2007
Current  version 4.1
( July 14, 2020 )
operating system platform independent
programming language Java
category OR mapper
License Apache license 2.0
cayenne.apache.org

Apache Cayenne is a free persistence - and ORM - Framework for the Java programming language .

Skills

Like most other ORM frameworks, Apache Cayenne maps the database schema directly to Java classes and generates SQL statements for this purpose at runtime. Apache Cayenne also supports transactions, joins, sequences, etc.

In addition, with the Remote Object Persistence of Apache Cayenne, Java objects can also be persisted on other Java clients using web services . This sets Apache Cayenne apart from most other ORM frameworks. Apache Cayenne also supports serialization using XML .

Apache Cayenne uses reverse engineering to support both the generation of database schemes from Java classes and the generation of Java classes from database schemes using Apache Velocity . These functionalities can be implemented with the help of the CayenneModeler , a user interface, without configuration in XML files using their annotations. Entire database schemes can thus be mapped easily and directly to Java objects.

Like most other ORM frameworks, Apache Cayenne also supports a query language at object level, caching , predictive fetching of dependency trees, and validation of objects and their dependencies. In addition, object inheritance, automatic recognition of the database and the persistence of generic objects.

history

Cayenne was started by the Objectstyle company under Andrus Adamchik. It was published under the Apache license from the first release in July 2002. In early 2006 the project moved from Objectstyle to the Apache Software Foundation and became one of Apache's top-level projects in December 2006.

See also

literature

  • Andrus Adamchik, Eric Schneider: Cayenne . Being Productive with Object Relational Mapping. Ed .: TheServerSide.com. June 1, 2004 (English, theserverside.com [accessed June 1, 2013]).

Web links

Individual evidence

  1. projects.apache.org . (accessed on April 8, 2020).
  2. Release 4.1 . July 14, 2020 (accessed July 15, 2020).
  3. ^ ObjectStyle.org, ObjectStyle.com and Our Community Roots , January 25, 2012
  4. cayenne-use. Retrieved March 26, 2020 .