CHAPTER 3

image

Bootstrapping Hibernate OGM

Since Hibernate OGM acts as a JPA implementation for NoSQL data stores, it’s obvious we can bootstrap it through JPA. Moreover, it can be bootstrapped through the Hibernate Native APIs as well. No matter which way you choose to bootstrap Hibernate OGM, it’s strongly recommended you use it in a Java Transaction API (JTA) environment, even if you’re not using Java EE.

Before getting into the actual bootstrapping process, let’s take a brief look at these specifications. You’ll want to keep the main features of these technologies in mind over the course of the next sections and chapters. Of course, if you’re ...

Get Pro Hibernate and MongoDB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.