tree: 877f27c53d471fa7358ee3d6298a52d0696cbbbe [path history] [tgz]
  1. src/
  2. pom.xml
  3. README.md
karaf-boot-samples/karaf-boot-sample-jpa/README.md

== karaf-boot-sample-jpa ==

This sample shows how to define a JPA bundle and generate the persistent unit.

= Design

A Task entity is defined and annotated with the persistent unit annotations.

= Build

To build, simply do:

mvn clean install

= Deploy

To deploy i:

  • you can drop the generated jar file (target/karaf-boot-sample-jpa-1.0.jar) in the Karaf deploy folder

  • in the Karaf shell console, do:

    bundle:install -s mvn:org.apache.karaf.boot/karaf-boot-sample-jpa/1.0