Skip to content
jkuehn edited this page Sep 14, 2010 · 15 revisions

MongoDB GORM plugin for Grails

MongoDB is a scalable, high-performance, schemafree and production ready NoSQL database. This plugin implements the GORM functionality for MongoDB. Under the hood it uses Morphia as a lightweight type-safe library for mapping domain classes to/from MongoDB.

User Guide

You will find a list of all domain class methods and other information in the User Guide

Features

Features implemented to far:

  • Instance methods: save, delete
  • Class methods: get, find, findAll, delete, exists, count, list, update
  • Dynamic finders like findAllByNameAndDegreeBetween(…)
  • Constraints and validation support
  • Automatic timestamping of dateCreated and lastUpdated
  • Gorm events beforeSave, afterSave, beforeDelete, afterDelete (others, like afterLoad are supported by Morphia)
  • Works with MongoDB 1.4 and 1.5

Questions and Bug Reports

Other links

Change Log

see here

Author:

  • Juri Kuehn (juri.kuehn [at] gmail.com)
Clone this wiki locally