-
Notifications
You must be signed in to change notification settings - Fork 199
Closed
Description
Original Reporter: persundberg
Environment: Grails 1.3.7, no hibernate installed, only tomcat and mongodb
Version: 1.0.0.M6
Migrated From: http://jira.grails.org/browse/GPMONGODB-56
Hi, the enums are not stored as they should in the database. I have a small test app with a boot strap that fails on asserting the enum when starting up (with run-app) (I couldn't use unit testcase since that uses h2 db). The database excerpt looks like this, and as you can see the enum property is not present:
use mongodbissue
switched to db mongodbissue
show collections
issue
issue.next_id
system.indexes
db.issue.find()
{ "_id" : NumberLong(1), "testprop" : "new testval", "version" : 0 }