CBE Examples on GitHub

Cayenne by Example

Illustrating some of the major features of the Apache Cayenne ORM framework using simple examples.

Download this project as a .zip file Download this project as a tar.gz file

To-Many Relationships

Cayenne Version 3.0.2
Project Directory InsertingObjects/ToMany
Source Directory InsertingObjects/ToMany/src/main/java
Resource Directory InsertingObjects/ToMany/src/main/resources
Inputs N/A
Compiling/Running cd InsertingObjects/ToMany
mvn clean compile
mvn exec:java -Dexec.mainClass=cbe.inserting.ToMany
View/Edit Model mvn cayenne-modeler:run
Status Code: Mostly Complete
Documentation: Very Incomplete