Top "Spring-mongodb" questions

Spring Data for MongoDB is an Object Document Mapper (ODM) to persist Java Objects in a MongoDB Database.

INFO warnings about multiple modules in Spring Boot, what do they mean?

I recently bumped up my spring boot version to 1.4.0. Now I see the following warnings below. I am using spring-mongodb …

spring-boot spring-data-redis spring-mongodb
mongodb mongoTemplate get distinct field with some criteria

My MongoDB json structure is { "_id" : "122134231234234", "name" : "Total_pop", "description" : "sales category", "source" : "public", "dataset" :"d1" }, { "_id" : "1123421231234234", "name" : "Total_pop", "…

java mongodb spring-mongodb
Spring Mongo DB @DBREF

I am having trouble writing code that would allow get a user and claim details in a straightforward way. This …

java mongodb spring-mongo spring-mongodb
How to update particular field in mongo db by using MongoRepository Interface?

How to update a particular field in mongo db collection by using MongoRepository Interface in spring?

java spring spring-mongodb mongorepository
Mongodb aggregation project after lookup

I am doing MongoDB aggregation. I want to lookup two collections then project only desired field in nested array. Two …

mongodb aggregation-framework lookup spring-mongodb
Spring mongodb add or update a list of documents

I have a list of records like [ {"id":"1", "name":"a", "user":"u1"}, {"id":"2", "name":"b", "user":"u1"}, {"id":"3", "name":"c", "…

spring mongodb spring-data-mongodb spring-mongo spring-mongodb
How to get Count of aggregation query in spring mongo template

I'm using spring mongo template to run an agreegation query on mongodb. I'm wondering is there any way to find …

mongodb spring-mongodb
spring mongo querydsl Can't find a codec for class java.time.LocalDateTime

I use spring mongo data rest and querydsl the domain: has a property: @DateTimeFormat(iso = ISO.DATE_TIME) private LocalDateTime …

spring-data spring-data-rest querydsl spring-mongodb
How to select between dates Spring data MongoDB using @Query

I'm using Spring data with MongoDB and i need to find between actual day and 7 days ahead. I have create …

spring mongodb spring-boot spring-data-mongodb spring-mongodb