I am trying to fetch a list of documents using specified filters. I want to limit the output to 10 and orderBy a column of type long(totalTransactionC ...
I am trying to fetch a list of documents using specified filters. I want to limit the output to 10 and orderBy a column of type long(totalTransactionC ...
Goal I am trying to push some data to a mongo db using mongojack. I expect the result to be something like this in the db: Problem Instead, I get ...
so in my object, I have private Date date; when I insert I got this exception: I am trying to set up the mongo TTL by using that date field. ...
I am mapping the linkedHashMap to my Custom Pojo class using the below code. This is giving me the below exception "com.fasterxml.jackson.databind. ...
I am using cursor.toArray() to return my collection.find(query) as a list and response time for my API is in 100's of milliseconds. Data fetched into ...
I am developing a small java application thats employing ModgoDB as its database. I do not want to have to build my data using Document so I thought ...
I’m new to MongoDB and Mongojack , I’m trying to update a document if it is already exit or else insert a new document. For testing purpose I use belo ...
While attempt to work with MongoJack it suddenly started to return null with every findOneById query. Even though the object is being created in the d ...
I have a collection named "Restaurants" which looks like this: I would like to get an average rating of all of the reviews of the restaurant. How c ...
I have a problem when my application receives an error from MongoDB server, for example: Imagine that I do a find in MongoDB but the response from Mo ...
Im having some issues with mongo driver and the way its inserting UUIDs by default in Java. (Mongo driver version 3.2) UUID("...") => BinData(4, " ...
I am trying to implement a findOne query on JSON: My JSON looks like this: And here is my Java code: But it does not find a record. When I only ...
I have a simple pojo When I try to read the pojo from mongo + mongojack I get the following error I have read things about @JsonDeserialize(u ...
I have a collection, say, test which contains some 100 fields like _1, _2, _3 etc Now I want to form MongoDB query such that whatever input comes lik ...
So I am trying use MongoJack together with MongoDB and jackson to access Data from MongoDB and turn it into POJO's. I seem to be struggling even thoug ...
I'm developing a Dropwizard app and am facing a strange bug on a GET request after I have included mongojack. I have a simple GET query with the ID a ...
We are using mongodb & MongoJack for mapping our collections. There is a need where we need to create composite primary key. We are not getting co ...
Is is possible to store the id field of type String in a POJO as a String in a mongo collection? I've tried to annotate the POJO as described in the ...
I have the following collection "player" It has a hashed password. When I try to map til back to my Player object, everything except the password i ...
I am completely new to MongoDB and MongoJack. I have this collection called pbf What I want to do "Remove and return one civs item by Id" I have ...