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

Alternative MongoDB GORM based on the Morphia library

(4)
Author(s) Juri Kuehn
Current Release 0.7.8   (2 months ago)
Grails Version 1.3.4 > *
License(s) Apache License 2.0
Tags gorm  mongodb  nosql 
Dependency
compile ":mongodb-morphia:0.7.8"
GORM implementation for the MongoDB NoSQL database based on the Morphia library
Last updated by jkuehn 1 year ago
Add this plugin to your Grails application using

grails install-plugin mongodb-morphia

Then configure the MongoDB connection in your DataSource.groovy:

grails-app/conf/DataSource.groovy

mongodb {
  host = 'localhost'
  port = 27017
  databaseName = 'test'
}

Now you can generate domain classes using the grails create-mongodb-class command and use them as described in the user guide .

Last updated by jkuehn 1 year ago

MongoDB GORM plugin for Grails

MongoDB is a scalable, high-performance, schemafree and production ready NoSQL database. This plugin is an alternative GORM implementation for MongoDB. It provides GORM functionality by wrapping Morphia as a lightweight, feature-rich, type-safe library for mapping domain classes to/from MongoDB. You will find the sourcecode at github

Morphia is currently being integrated into the core MongoDB java driver. So in future this plugin will have the MongoDB driver as the only dependency.

User Guide

See the User Guide for a quickstart guide and further information

Last updated by admin 1 year ago
Last updated by admin 1 year ago