Original Reporter: oct
Environment: Fedora 14, mongodb 1.6.4, grails-mongodb M4
Version: Not Specified
Migrated From: http://jira.grails.org/browse/GPMONGODB-8
If a domain contains def beforeInsert(){}, once it's saved there is a new property 'id' which is equal with '_id' property. Both are of ObjectId type.
I'm trying to use def beforInsert() method, since def beforeInsert closure doesn't work, but that's different issue.