Plugins You can find out about all the publicly available Grails plugins.

GORM for MongoDB Plugin Collection

42 votes

5% of Grails users

compile ":mongodb:5.0.0.RC1"

 Documentation  Source  Issues


A plugin that integrates the Mongo document datastore into Grails, providing a GORM API onto it


Add the following plugin definition to your BuildConfig:

compile ':mongodb:«version»'


MongoDB is a NoSQL datastore that 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


Further documentation on this plugin can be found using the following links:


Sources can be found at Github