-
Notifications
You must be signed in to change notification settings - Fork 14
Home
jkuehn edited this page Sep 14, 2010
·
15 revisions
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.
Features implemented to far:
- Instance methods: save, delete
- Class methods: get, find, findAll, delete, exists, count, list, getDatastore (returns the Morphia Datastore)
- 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
See the Quickstart page for a usage example. You can also download a petclinic sample application port which uses gorm-mongodb to see the use of embedded and referenced domain classes.
You will find a list of all domain class methods in the user guide
- Mailing list: http://www.grails.org/Mailing+lists
- Bug tracker: http://github.com/jkuehn/gorm-mongodb/issues
- Grails Framework
- Grails Documentation
- MongoDB Java Driver
- MongoDB Java Language Center
- MongoDB Grails Plugin that exposes a mongo bean for interaction with MongoDB
see here
- Juri Kuehn (juri.kuehn [at] gmail.com)