morphia
Multiple search in mongodb with morphia
I\'ve two classes: User and Project. The project class have ONE user (the owner of project). In search method, it returns a list of user after a method, and with this list of users,[详细]
2023-04-12 00:53 分类:问答Java: Morphia how easy is it to update a Collection with new field values
I\'m new to this, Let\'s say I have Collection \"UserData\" and there are 1000 Documents in the Us开发者_JAVA百科erData.[详细]
2023-04-08 14:08 分类:问答How to add indexes in mongoDB project with Morphia framework
i\'m working on a gwt project, that uses mongoDB as database, and morphia framework to work with mongodb.[详细]
2023-04-07 08:54 分类:问答What is fastest, @Entity or @Embedded?
Im new (today) to the NoSql MongoDb and trying to understand the Morphia. I want to have one @Entity like this:[详细]
2023-04-06 22:40 分类:问答Morphia Generics - Not Possible?
I\'m trying to save a List of Generics(M) through Mongo/Morphia. I get this error when I tried to save:[详细]
2023-04-05 17:20 分类:问答NumberFormatException when Persisting to Mongo Database
I am creating a simple VO object and then trying to persist it into Mongo Database am getting NumberFormatException worst part is that exception is not being thrown from object itself as right now am[详细]
2023-03-26 10:15 分类:问答Why is the MongoDB Java driver / Morphia prepending a property twice?
Here are my (sample) objects.I haven\'t put any other annotations besides what\'s required for Morphia:[详细]
2023-03-22 21:01 分类:问答How to log all the queries in a log file in a java application with mongodb?
I have a java application which use morphia to work with mongodb. I want to log al开发者_运维技巧l the queries sent to mongodb in a file, which I can analyze them to improve the performance. But I do[详细]
2023-03-22 19:03 分类:问答Play framework testing and access to session object when using MongoDB
In play framework application.conf there are lines: %test.db.url=jdbc:h2:mem:play;MODE=MYSQL;LOCK_MODE=0[详细]
2023-03-20 04:21 分类:问答Play MongoDB Morphia plugin throws error
I have really simply domain model in scala: package models import org.joda.time.DateTime import com.google.code.morphia.annotations.Entity;[详细]
2023-03-16 08:37 分类:问答