PlayMorphia module Documentation
IMPORTANT NOTE for those who use Long
type ID: There is an urgent issue reported by Peksa: Version 1.2.11 and up reset Long id generation in production system
Welcome to PlayMorphia module documentation. This documentation is intended for the 1.2.11 release and may significantly differ from previous module version’s documentation.
Check the version history
Break changes: Start from v1.2.8 Auto timestamp feature enabled to all Model classes by default. Add the following line to your conf/application.conf
file to maintain the compatibility to your existing project: morphia.autoTimestamp=false
Break changes: v1.2.7 now works for Play-1.2.4+. If you are still using Play-1.2.3 or below, please use v1.2.6a instead.
Getting started
Your first steps with PlayMorphia module and your first 5 minutes of fun.
Tutorials — PlayMorphia guide, adapt YABE from JPA to PlayMorphia
Learn PlayMorhpia by adapting Play’s YABE sample application from JPA to PlayMorphia.
This section is under construction. For the moment, check the YABE sample application released along with the plugin, read the source code, and run the test.
The essential documentation
Everything you need to know about PlayMorphia
- Getting started
- Main concepts
- PlayMorphia model
- Use PlayMorphia model in your application
- Using query
- Advanced topics