python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Morphia throws error when the field was changed its type from String to enum: No enum constant
In DAO class I use with Morphia I have replaced the String filed type to enums.Currency and I expect that everything will work fine, when the data is retrieved from the db:
was
public String curre...

Eljah
Votes: 0
Answers: 1
Is there a way to get a collection in a random order?
Is it possible to get the full collection of documents in a random order? Or just a random sample?

Frederic Dhalleine
Votes: 0
Answers: 1
MongoDB Morphia distinct
public Collection<OwnerDetail> getAllOwners() {
final MorphiaCursor<Listing> listings = datastore.find(Listing.class)
.iterator(new FindOptions()
.proje...

Ishani Samaraweera
Votes: 0
Answers: 0