Top "Mongodb-java" questions

MongoDB is a scalable, high-performance, open source, document-oriented database.

how to insert blob data in mongodb,is there any additaional software required

I have just installed mongodb on my system, I wanted to know if it was possible to insert blob data …

mongodb mongodb-query mongodb-java spring-data-mongodb
Mongodb: `com.mongodb.MongoSocketReadException: Prematurely reached end of stream` with morphia

I've a simple data structure (the Transaction referenced below) to be inserted into mongodb: {"amount":111,"debitAcc":"588188286231743e7d5c923d","…

mongodb mongodb-java morphia
Spring Mongo criteria querying twice the same field

I am trying to query mongodb using spring. We have a collection which holds a tree and a include a …

java spring mongodb mongodb-java
how to create mongoDB objectid in java

Refering to post How to add an array to a MongoDB document using Java? I have created a mongo schema …

java mongodb mongodb-java
Can't find MongoClient in Java Drivers

In reading all the documentation on the mongo site for using the Java Driver, it makes references to using MongoClient() …

java netbeans mongodb-java
List of all collections in mongo database in java

how can I get a list of all the collections in the database? database - mongodb; language - java; ide …

java mongodb mongodb-java
spring data mongo - mongotemplate count with query hint

The mongo docs specify that you can specify a query hint for count queries using the following syntax: db.orders.…

mongodb spring-data spring-data-mongodb mongodb-java
Distinct() command used with skip() and limit()

I have those items in my MongoDB collection: {x: 1, y: 60, z:100} {x: 1, y: 60, z:100} {x: 1, y: 60, z:100} {x: 2, y: 60, z:100} {…

mongodb mongodb-java spring-data-mongodb
Connect to remote mongodb server with java

I'm trying to connect to a remote mongodb instance, but it keeps throwing an error. Java code: Mongo mongo = new …

java mongodb networking mongodb-java
How to add to an existing MongoDB Bson Filter in Java

I'm using MongoDB 3.6.3 and the 3.6.0 Mongo & Bson drivers for Java. Given the following filter: import static com.mongodb.client.…

java mongodb mongodb-java bson