Introduction

MongoDB bridges the gap between key-value stores (which are fast and highly scalable) and traditional RDBMS systems (which provide rich queries and deep functionality).

MongoDB (from "humongous") is a scalable, high-performance, open source, document-oriented database.

This project aims to provide an object-mapping layer on top of Mongo to ease common activities such as:

  • Marshalling from Mongo to Groovy/Java types and back again

  • Support for GORM dynamic finders, criteria and named queries

  • Session-managed transactions

  • Validating domain instances backed by the Mongo datastore

Compatibility with GORM for Hibernate

Unresolved directive in index.adoc - include::introduction/compatibility.adoc[]

Release Notes

Unresolved directive in index.adoc - include::introduction/releaseNotes.adoc[]

Upgrade Notes

Unresolved directive in index.adoc - include::introduction/upgradeNotes.adoc[]

Getting Started

Unresolved directive in index.adoc - include::gettingStarted.adoc[]

Using MongoDB Standalone

Unresolved directive in index.adoc - include::gettingStarted/mongoOnly.adoc[]

Combining MongoDB and Hibernate

Unresolved directive in index.adoc - include::gettingStarted/withHibernate.adoc[]

Advanced Configuration

Unresolved directive in index.adoc - include::gettingStarted/advancedConfig.adoc[]

Using GORM in Spring Boot

Unresolved directive in index.adoc - include::gettingStarted/springBoot.adoc[]

GORM for MongoDB without Grails

Unresolved directive in index.adoc - include::gettingStarted/outsideGrails.adoc[]

Mapping Domain Classes

Unresolved directive in index.adoc - include::objectMapping.adoc[]

Identity Generation

Unresolved directive in index.adoc - include::objectMapping/idGeneration.adoc[]

Understanding Dirty Checking

Unresolved directive in index.adoc - include::objectMapping/dirtyChecking.adoc[]

Querying Indexing

Unresolved directive in index.adoc - include::querying/queryIndexes.adoc[]

Customizing the WriteConcern

Unresolved directive in index.adoc - include::objectMapping/writeConcern.adoc[]

Dynamic Attributes

Unresolved directive in index.adoc - include::objectMapping/dynamicAttributes.adoc[]

Custom User Types

Unresolved directive in index.adoc - include::objectMapping/customTypes.adoc[]

Querying

Basic Querying

Unresolved directive in index.adoc - include::querying/queryingBasics.adoc[]

Geospacial Querying

Unresolved directive in index.adoc - include::querying/geoSpatial.adoc[]

Geospacial 2D Sphere Support

Unresolved directive in index.adoc - include::querying/geoSpatial/2dsphere.adoc[]

Geospacial 2D Index Support

Unresolved directive in index.adoc - include::querying/geoSpatial/2dindex.adoc[]

GeoJSON Data Models

Unresolved directive in index.adoc - include::querying/geoSpatial/geoJson.adoc[]

Full Text Search

Unresolved directive in index.adoc - include::querying/textSearch.adoc[]

Multiple Data Sources

Unresolved directive in index.adoc - include::multipleDataSources/index.adoc[]

Switching Database or Collection at Runtime

Unresolved directive in index.adoc - include::databaseSwitching.adoc[]

Multi-Tenancy

Unresolved directive in index.adoc - include::multiTenancy/index.adoc[]

Stateless Mode

Unresolved directive in index.adoc - include::stateless.adoc[]

Using the MongoDB Driver Directly

Unresolved directive in index.adoc - include::lowLevelApi.adoc[]

Transactions

Unresolved directive in index.adoc - include::transactions.adoc[]

Unit Testing

Unresolved directive in index.adoc - include::testing.adoc[]

Integration Testing

Unresolved directive in index.adoc - include::integrationTesting.adoc[]

Reference

Beans

mongo

Unresolved directive in index.adoc - include::ref/Beans/mongo.adoc[]

Domain Classes

collection

Unresolved directive in index.adoc - include::ref/Domain Classes/collection.adoc[]

collectionName

Unresolved directive in index.adoc - include::ref/Domain Classes/collectionName.adoc[]

countHits

Unresolved directive in index.adoc - include::ref/Domain Classes/countHits.adoc[]

DB

Unresolved directive in index.adoc - include::ref/Domain Classes/DB.adoc[]

dbo

Unresolved directive in index.adoc - include::ref/Domain Classes/dbo.adoc[]

findByGeoIntersects

Unresolved directive in index.adoc - include::ref/Domain Classes/findByGeoIntersects.adoc[]

findByGeoWithin

Unresolved directive in index.adoc - include::ref/Domain Classes/findByGeoWithin.adoc[]

findByNear

Unresolved directive in index.adoc - include::ref/Domain Classes/findByNear.adoc[]

findByNearSphere

Unresolved directive in index.adoc - include::ref/Domain Classes/findByNearSphere.adoc[]

findByWithinBox

Unresolved directive in index.adoc - include::ref/Domain Classes/findByWithinBox.adoc[]

findByWithinCircle

Unresolved directive in index.adoc - include::ref/Domain Classes/findByWithinCircle.adoc[]

Unresolved directive in index.adoc - include::ref/Domain Classes/search.adoc[]

searchTop

Unresolved directive in index.adoc - include::ref/Domain Classes/searchTop.adoc[]

useCollection

Unresolved directive in index.adoc - include::ref/Domain Classes/useCollection.adoc[]

useDatabase

Unresolved directive in index.adoc - include::ref/Domain Classes/useDatabase.adoc[]

withCollection

Unresolved directive in index.adoc - include::ref/Domain Classes/withCollection.adoc[]

withDatabase

Unresolved directive in index.adoc - include::ref/Domain Classes/withDatabase.adoc[]