• Table of contents
    1Introduction
    2Getting Started
    3Mapping Domain Classes to MongoDB Collections
    4Switching Database or Collection at Runtime
    5Stateless Mode
    6Using the MongoDB Driver Directly
    7Transactions
    8Unit Testing
  • Quick Reference

(Quick Reference)

GORM for MongoDB - Reference Documentation

Authors: Graeme Rocher, Burt Beckwith

Version: 5.0.8.RELEASE

Table of Contents

1Introduction
1.1Compatibility with GORM for Hibernate
1.2Release Notes
1.3Upgrade Notes
2Getting Started
2.1Using MongoDB Standalone
2.2Combining MongoDB and Hibernate
2.3Advanced Configuration
2.4Using GORM in Spring Boot
2.5GORM for MongoDB without Grails
3Mapping Domain Classes to MongoDB Collections
3.1Identity Generation
3.2Understanding Dirty Checking
3.3Querying Indexing
3.4Customizing the WriteConcern
3.5Dynamic Attributes
3.6Geospacial Querying
3.6.1Geospacial 2D Sphere Support
3.6.2Geospacial 2D Index Support
3.6.3GeoJSON Data Models
3.7Full Text Search
3.8Custom User Types
4Switching Database or Collection at Runtime
5Stateless Mode
6Using the MongoDB Driver Directly
7Transactions
8Unit Testing
Quick Reference (hide)

Beans

mongo

Domain Classes

DB
collection
collectionName
countHits
dbo
findByGeoIntersects
findByGeoWithin
findByNear
findByNearSphere
findByWithinBox
findByWithinCircle
search
searchTop
useCollection
useDatabase
withCollection
withDatabase

Testing

MongoDbTestMixin