Announcement Announcement Module
Collapse
No announcement yet.
Generate objects from existing MongoDB collection? Or, any related gotchas? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Generate objects from existing MongoDB collection? Or, any related gotchas?

    Is it possible to quickly generate objects based on an existing MongoDB collection and document structure? (Guess I can't say 'schema' here can I... ).

    If not, any gotcha's to look out for if we create a class to talk to our existing collection? (i.e. spring-data mongodb objects generate a uuid that's stored in the document as '_id_for_spring' ...)

    I think we really want to use the Grails GORM support for MongoDB, but we could just use spring-data in Spring MVC or something at first to make sure it all works.

    FWIW, we would be querying a MongoDB 2.0 database. Geospatial querying is important, too, and I think there's a hiccup that will be fixed in Spring data 1.1 for that?

    thanks!
Working...
X