implements parts of the JPA specification targeting Azure Storage as the persistence mechanism.
jpa4azure implements a subset of the JPA 2.0 specification for Java. It simplifies Azure Table persistence via simple Java objects as an interface to Azure Table data. Here are some key features:
- Automatic table creation from entity model.
- Automated key generation strategy for UUID's.
- Support for parent child relationships (absent from the raw Azure Table api).
- Support for storing enum fields (absent from raw Azure Table api).
- Support for storing embedded objects (absent from raw Azure Table api).
- Support for time based keys and before/after/within temporal queries (absent from raw Azure Table api).
The easiest way to get started is via this simple maven project:
hello4azure example project
jpa4azure is hosted on the main maven repo, and can be included in your project with the following dependency declaration:
jpa4azure isn't a full implementation of the JPA spec, however, it greatly simplifies Azure Storage use from a java app, and adds some features to the standard Azure Storage client. See the quick start quide to find out more about it.