Fork me on GitHub

Karaf Features: JPA

What is it?

Enabling database persistence and transactions for Osgiliath framework

How to use?

Reference this feature in your pom: <dependency> <groupId>net.osgiliath.framework</groupId> <version>${osgiliath.maven.version.version}</version> <artifactId>net.osgiliath.features.karaf-features-jpa</artifactId> <type>xml</type> <classifier>features</classifier> </dependency> And don’t forget to add the feature you want to use on your app features.xml

You can now use JPA on your project (see JPA integration tests)