MongoDB is a scalable, high-performance, open source, document-oriented database.
I'm trying to persist the following object with spring-data-mongodb version 1.1.1.RELEASE: @Document public static class TestObject { private final int m_…
java naming-conventions spring-data mongodb-java spring-data-mongodbI want to create compound index on Age and Name in MongoDB through Java driver and here is my syntax: …
java mongodb indexing mongodb-javaAm trying to read date field from MongoDB in below format Formate: YYYY-MM-dd HH:mm:ss.SSSSSS 2017-01-23-10.46.07.812000 …
java mongodb mongodb-java mongodb-java-3.3.0We are trying to setup our own Converters for Spring Data Mongo and having problems with it. Seems like Spring …
java spring mongodb spring-data-mongodb mongodb-javaIn the below query { $group : { _id : { success:'$success', responseCode:'$responseCode', label:'$label'}, max_timeStamp : { $timeStamp : 1 }, count_responseCode : { $…
mongodb aggregation-framework mongodb-javaI'm using MongoDB 2.2 with java-driver 2.10.1 I'm inserting a date field into a document from a java.util.Date instance. My …
mongodb date mongodb-javadb.collectionB.findOne() { "_id" : NumberLong(24), "class" : "Top", "type" : DBRef("collectionA", NumberLong(47)) } db.collectionA.findOne() { "_id" : NumberLong(47), "name" : "John", "position" : 2 } QUERY …
java mongodb mongodb-java mongo-java dbrefI am using mongodb java driver 3.4. In the mongodb database documents are saved according to the following structure: { "_id" : ObjectId("595…
java mongodb projection mongodb-java data-retrievalI'm using the BulkWriteOperation (java driver) to store data in large chunks. At first it seems to be working fine, …
performance mongodb insert mongodb-javaOur current connection configuration looks like this: MongoClientOptions.builder() .autoConnectRetry(true).maxAutoConnectRetryTime(1200000) .socketTimeout(30000).connectTimeout(15000).build(); // SocketTimeout: 30s, ConnectionTimeout 15s, ReconnectRetry: 20…
java mongodb mongodb-java