Alternative MongoDB GORM based on the Morphia library
Dependency :
compile ":mongodb-morphia:0.8.2"
Summary
GORM implementation for the MongoDB NoSQL database based on the Morphia library
Installation
Add this plugin to your Grails application usingThen configure the MongoDB connection in your DataSource.groovy:grails-app/conf/DataSource.groovy
Now you can generate domain classes using the
grails install-plugin mongodb-morphia
mongodb {
host = 'localhost'
port = 27017
databaseName = 'test'
}grails create-mongodb-class command and use them as described in the user guide .