Sign in to edit and +1 items.
Login required
Download

MongoDB GORM

(17)
Used by approximately
3%
of Grails users
Author(s) Graeme Rocher
Current Release 1.0.0.GA   (3 weeks ago)
Grails Version 1.3.7 > *
Organization SpringSource
Tags gorm  mongodb  nosql  persistence 
Dependency
compile ":mongodb:1.0.0.GA"
Custom repositories
mavenRepo "http://grails.org/plugins"
A plugin that integrates the Mongo document datastore into Grails, providing a GORM API onto it
Last updated by admin 1 year ago
grails install-plugin mongodb
Last updated by graemerocher 3 weeks ago
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 here

A blog post with a screencast demonstrating the plugin can be found on the SpringSource blog.

Sources can be found at Github

Note for Grails 1.3.x users: The current version of the plugin requires alterations to your default BuildConfig.groovy. See http://jira.grails.org/browse/GPMONGODB-178 for details. Grails 2.0 and above users can ignore this.
Last updated by laradji 1 year ago
Q : How can i map a domain to a collection with a other name A : Use the option mapping on your model with the option collection in place of table .
Last updated by admin 1 year ago