Top "Mongotemplate" questions

Part of Spring Data project which provides consistent Spring-based programming model for new datastores while retaining store-specific features and capabilities.

MongoTemplate upsert - easy way to make Update from pojo (which user has editted)?

Here is a simple pojo: public class Description { private String code; private String name; private String norwegian; private String english; } …

java mongodb upsert mongotemplate
MongoTemplate Criteria Query

I'm generating a complicated Mongo query depending on multiple parameters. One of criterion that I want to make with Criteria …

java mongodb spring-data-mongodb mongotemplate
Spring Boot with MongoTemplate

I am new to Spring Boot and MongoDb. Trying some examples with Mongo Repositories and Spring Boot. But after going …

java mongodb spring-boot mongotemplate mongorepository
Error creating bean with name 'mongoTemplate' while connecting mongodb through Spring

I am trying to connect mongoDb with Spring's mongoTemplate. I also tried changing version of 'spring-data-mongodb' from 1.7.2.RELEASE to 1.8.2.RELEASE, …

java spring mongodb mongotemplate
MongoTemplate aggregate - group by date

I'm trying to create an aggregate query using mongotemplate where there's a grouping by date (i.e 2016-03-01) instead …

java spring mongodb mongodb-query mongotemplate
Java MongoDB save multiple documents at once

I Have a list of updated objects/documents i need save all the objects in the list at once. I …

mongodb spring-data-mongodb mongo-java mongo-java-driver mongotemplate
How to write MongoTemplate Query and Criteria for a complex Document structure?

I am new to MongoTemplate. I want to define a org.springframework.data.mongodb.core.query.Query and org.springframework.…

spring-data spring-data-mongodb mongotemplate
How to upload and retrieve file in mongodb in spring boot application without using GridFSTemplate?

I want to upload files and retrieve them from mongodb in spring boot application. But I don't want to use …

mongodb spring-boot file-upload mongotemplate
Spring data mongo bulk update

Bulk updates are supported from spring-data-mongodb from 1.9.0.RELEASE. BulkOperations ops = template.bulkOps(BulkMode.UNORDERED, Match.class); for (User user : users) { …

mongotemplate
create indexes for search using MongoTemplate?

how we can create Indexes for the following query using MongoTemplate? I am referring to site http://docs.mongodb.org/…

mongodb spring-data-mongodb full-text-indexing mongotemplate