tree: c18d680426992db9ebdcf4fa463191c6a134aad8 [path history] [tgz]
  1. .gitignore
  2. README.md
  3. pom.xml
  4. src/
cayenne-java-modules/README.md

Apache Cayenne example with java modules

Example shows how to use Apache Cayenne in application with java modules.

  • Clone:
git clone https://github.com/apache/cayenne-examples
cd cayenne-java-modules
  • Run instance of mysql database and change url, username and password in cayenne-project.xml.

  • Build:

mvn clean install
  • Run:
java --module-path target/cayenne-java-modules-1.0-SNAPSHOT.jar:target/lib/cayenne-server-4.1.B2.jar:target/lib/cayenne-di-4.1.B2.jar:target/lib/slf4j-api-1.7.25.jar:target/lib/mysql-connector-java-8.0.17.jar:target/lib/protobuf-java-3.6.1.jar:target/lib/slf4j-simple-1.7.25.jar --module cayenne.java.module/org.apache.cayenne.example.Main