Community contributed extensions

PlayMorphia features

PlayMorphia is a Object-MongoDB mapping layer to help Play application developers easily access MongoDB. PlayMorphia provides powerful yet simple enough interfaces and facilities to address nearly all aspect for application to access MongoDB:

  1. Object-BSON mapping. Map between Java POJO object and MongoDB BSON format data. See PlayMorphia model.
  2. Support embedded and reference relationship between models
  3. Transparent GridFS support for Blob fields
  4. Automatic create and update timestamp
  5. Support arbitrary ID type
  6. Creating index with annotations
  7. Super powerful and easy query interface
  8. Complete aggregation and group aggregation support
  9. Sophisticated Model entity lifecycle event handling framework
  10. Play!Framework integration
    1. play.db.Model support. The PlayMorphia model class extends play.db.Model class and you get all most everything you can get from Play’s JPA model facilities. Actually you get more in PlayMorphia
    2. CRUD support. PlayMorphia model support most CRUD operations transparently
    3. Data binding and validation. You can continue enjoy Play’s automatic data binding mechansim when you are working with PlayMorphia
    4. Fixtures. You can use Play’s Fixture to load yaml data into your MongoDB. However you need to use MorphiaFixture to delete data

See Also

  1. PlayMorphia overview