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)
How to save alphanumeric sequence in mongodb and start generating from the last saved sequence in MongoDB
I have a method that generates an alphanumeric sequence based on a particular pattern. I want to save the generated sequence and when next I want to generate a new one, it should start from the last s...
Curious
Votes: 0
Answers: 1
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
Invalid @BsonCreator constructor. Expected class java.lang.String, found interface java.util.List
I'm trying to use POJOs to write data to MongoDB, but I can't seem to get it working. I have a lot of different data structures because I'm storing various types of chart data.
Let's start with the e...

John Manko
Votes: 0
Answers: 1
MongoDB returning field as null
I am currently working on an application connected to a MongoDB instance. I am having trouble where the 'id' field of my object is not being returned to me within the application but is being returned...
cbilke1994
Votes: 0
Answers: 1