morphia « playframework « Java Enterprise Q&A





1. Playframework + Morphia + MongoDb + ElasticSearch = Disater?    stackoverflow.com

Guys I have a couple of questions: Q1. I am using Play 1.1.1 with the Morphia-MongoDB module and ElasticSearch for Indexing. Has any one tried this? Q2. For some reason the morphia ...

2. MongoDB schema design - finding the last X comments across all blog posts filtered by user    stackoverflow.com

I am trying to reproduce the classic blog schema of one Post to many Comments using Morphia and the Play Framework. My schema in Mongo is:

{ "_id" : ObjectId("4d941c960c68c4e20d6a9abf"), 
 "className" : ...

3. Using the $in operator through Morphia - doing it wrong?    stackoverflow.com

I have the following Play Framework entity (using Morphia for persistence) as part of a generic blogging app:

@Entity
public class Comment extends Model {

    ...

    @Reference
 ...

4. Morphia-MongoDB - "Please override this method for user marked Id field entity"    stackoverflow.com

I am following a tutorial mention on code.google, but my example fails giving the following trace :

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at com.google.code.morphia.mapping.MappedClass.callLifecycleMethods(MappedClass.java:323)
    at ...

5. Should I use MongoDb module or morphia module or Casbah in play framework for MongoDb?    stackoverflow.com

I am working on a play framework project with scala in which I want to have Scala domain classes (or even Java domain classes) using MongoDb as data store. I want maximum ...

6. What is the performance difference between Morphia and MongoDB Module in Play framework?    stackoverflow.com

Both Morphia and MongodDB Module in play framework are wrappers around Java driver for MongoDB. But I noticed Morphia does not give directly a Java List when querying. It gives me a ...

7. Play-Framework with CRUD (Mongo+Morphia)    stackoverflow.com

I'm using play-framework and trying to use crud module with it.Using mongo and morphia as database. As im trying to create model with some fields but CRUD module generate its fields with ...