-
Due to limitations of the BasicDBObject, you cant add a second $and
Using Spring data and Mongodb, below is a function to find data within a date range.
Date: 2019-08-18 View: 1520
-
Spring Data MongoDB : Save binary file, GridFS example
In MongoDB, you can use GridFS to store binary files. In this tutorial, we show you how to use Spring Data’s GridFsTemplate to store / read image in / from MongoDB.
Date: 2019-08-18 View: 1520
-
Spring asm dependency issue in Spring Data
Using Spring Data MongoDB 1.2.1.RELEASE and Spring core 3.2.2.RELEASE, while system is starting, it hits some weird spring-asm IncompatibleClassChangeError errors :
Date: 2019-08-18 View: 1520
-
Spring Data MongoDB Auto Sequence ID example
In this tutorial, we will show you how to generate an auto-incrementing sequence id in MongoDB + Spring Data environment.
Date: 2019-08-17 View: 1520
-
Spring Data MongoDB : like query example
In SQL, the ‘like’ query is looks like this :
Date: 2019-08-17 View: 1520
-
Spring Data MongoDB : get last modified records (date sorting)
In Mongodb, you can use sort()to do the date sorting.
Date: 2019-08-17 View: 1520
-
Spring Data MongoDB Select fields to return
In MongoDB console, you can use field:1 to select the fields to return from a query :
Date: 2019-08-17 View: 1520
-
Spring Data MongoDB Aggregation Grouping Example
In this tutorial, we will show you how to do the data grouping with Spring Data + MongoDB aggregation framework.
Date: 2019-08-17 View: 1520
-
Spring Boot + Spring Data JPA + Oracle example
In this article, we will show you how to create a Spring Boot + Spring Data JPA + Oracle + HikariCP connection pool example.
Date: 2019-08-11 View: 1520
-
JPA Insert + Oracle Sequences example
A quick JPA + Oracle sequences example, for self reference.
Date: 2019-08-11 View: 1520
-
Spring Boot + Spring Data MongoDB example
In this article, we will show you how to create a Spring Boot + Spring Data MongoDB application, using Gradle build tool.
Date: 2019-08-11 View: 1520
-
Spring Data Add custom method to Repository
In this article, we will show you how to add a custom method to Spring Data JPA CrudRepository and MongoDB MongoRepository
Date: 2019-08-11 View: 1520
-
Spring Boot + Spring Data JPA + Java 8 date and time (JSR310)
In Spring Boot + Spring Data JPA application, to support the JSR310 java.time.* APIs, we need to register this Jsr310JpaConverters manually.
Date: 2019-08-11 View: 1520
-
Spring Boot + Spring Data + Elasticsearch example
In this article, we will discuss about “How to create a Spring Boot + Spring Data + Elasticsearch Example”.
Date: 2019-08-11 View: 1520
-
Spring REST Hello World Example
In this article, we will show you how to develop a Spring Boot REST style web service to handle CRUD operations from a H2 In-memory database.
Date: 2019-08-11 View: 1520