Grace Data MongoDB
Provides an Object-Mapping layer on top of MongoDB
2023.3.0
Table of contents
1
Introduction
2
Release History
3
Getting Started
4
Mapping Domain Classes
5
Querying
6
Multiple Data Sources
7
Switching Database or Collection at Runtime
8
Multi-Tenancy
9
Stateless Mode
10
Using the MongoDB Driver Directly
11
Transactions
12
Unit Testing
13
Integration Testing
Quick Reference
API Docs
(
Quick Reference
)
Grace Data MongoDB
Authors:
Michael Yan
Version:
2023.3.0
Table of Contents
1
Introduction
1.1
Compatibility with GORM for Hibernate
1.2
Upgrade Notes
2
Release History
2.1
What's new in 2023.x
3
Getting Started
3.1
Using MongoDB Standalone
3.2
Combining MongoDB and Hibernate
3.3
Advanced Configuration
3.4
Using GORM in Spring Boot
3.5
GORM for MongoDB without Grails
4
Mapping Domain Classes
4.1
Identity Generation
4.2
Understanding Dirty Checking
4.3
Customizing the WriteConcern
4.4
Dynamic Attributes
4.5
Custom User Types
5
Querying
5.1
Basic Querying
5.2
Querying Indexing
5.3
Geospacial Querying
5.3.1
Geospacial 2D Sphere Support
5.3.2
Geospacial 2D Index Support
5.3.3
GeoJSON Data Models
5.4
Full Text Search
6
Multiple Data Sources
6.1
Configuring Multiple Mongo Clients
6.2
Mapping Domain Classes to Mongo Clients
6.3
Switching between Mongo Clients
6.4
The ConnectionSources API
7
Switching Database or Collection at Runtime
8
Multi-Tenancy
8.1
Configuring Multi Tenancy
8.2
Multi-Tenancy Transformations
8.3
Multi Tenancy Modes
8.4
Dynamic ConnectionSources
9
Stateless Mode
10
Using the MongoDB Driver Directly
11
Transactions
12
Unit Testing
13
Integration 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