My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for

This project has moved to github. You can find the new documentation here

QuickStart  
Updated Jul 22, 2013 by j...@antwerkz.com

This project has moved to github. You can find the new documentation here

Comment by ap.n...@gmail.com, Jun 17, 2010

Great work, would it be possible someday to use the jpa annotations along with the morphia ones. I guess since the names are same, it would help people a lot, but it may be a good idea to support this, so that someone can done a pilot with minimal changes to his existing classes.

Comment by project member scotthernandez, Jun 28, 2010

That could be an option; file an issue and get some votes for it, or supply a patch.

It shouldn't be too hard support, but I'm not sure about mapping between the two annotation systems.

Comment by Lucifer...@gmail.com, Jan 19, 2011

why I used mapPackage (code : morphia.mapPackage("domain");), the morphia (code: datastore.ensureIndexes();) don't create index for mongo ? (unless I use map(class))

Comment by wasserma...@gmail.com, Dec 12, 2011

what about the performance? if I want load 1000 records and present in front end, mapping to 1000 objects will slow. In this case I prefer to load the record direct from mango and give them to front end.

Comment by ben...@gmail.com, Jul 26, 2012

Datastore ds = morphia.createDatastore("testDB"); //is deprecated. The documentation here is generally ambiguous and unhelpful.

Comment by clementl...@gmail.com, Aug 19, 2012

How can I query hotels on a property of their address? Thx!

Comment by Sirees...@vasudhaika.net, May 16, 2013

ObjectId? hotelId= new ObjectId?("5194a4d1e4b0ffca8d927c93"); Use this line In : Loading a Hotel from Mongo is also simple:

Instead of String hotelId


Sign in to add a comment
Powered by Google Project Hosting