Skip to main content

Using Kundera with MongoDB

  • Chapter
Pro MongoDB™ Development
  • 1824 Accesses

Abstract

The Java Persistence API (JPA) is the Java API for persistence management and object/relational mapping in Java EE/Java SE environment with which a Java domain model is used to manage a relational database. JPA also provides a query language API with the Query interface for static and dynamic queries. JPA is designed primarily for relational databases, and Kundera is a JPA 2.0-compliant Object-Datastore Mapping library for NoSQL datastores. Kundera also supports relational databases and provides NoSQL datastore-specific configurations for MongoDB and some other NoSQL databases: Apache Cassandra, and HBase. Using the kundera-mongo library in the domain model MongoDB may be accessed using the JPA. In this chapter we shall access MongoDB with the kundera-mongo module and run CRUD (Create, Read, Update, and Delete) operations on MongoDB, covering the following topics:

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Electronic Supplementary Material

Below is the link to the electronic supplementary material.

Ch9 (zip 27 kb)

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Deepak Vohra

About this chapter

Cite this chapter

Vohra, D. (2015). Using Kundera with MongoDB. In: Pro MongoDB™ Development. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1598-2_9

Download citation

Publish with us

Policies and ethics