
Spring Data Java 8 Support
1. Overview Spring Data now supports core Java 8 features – such as Optional, Stream API and CompletableFuture. In this quick article, we’ll go through some examples of how […]
1. Overview Spring Data now supports core Java 8 features – such as Optional, Stream API and CompletableFuture. In this quick article, we’ll go through some examples of how […]
1. Overview Starting from the 4.0 release, MongoDB supports multi-document ACID transactions. And, Spring Data Lovelace now provides support for these native MongoDB transactions. In this […]
1. Introduction In this tutorial, we’re going to see how to configure and implement database operations using Reactive Programming through Spring Data Reactive Repositories with […]
1. Overview In this tutorial we’ll explore some of the core features of Spring Data MongoDB – indexing, common annotations and converters. 2. Indexes 2.1. @Indexed […]
1. Overview This article will focus on building out different types of queries in Spring Data MongoDB. We’re going to be looking at querying documents with Query and Criteria classes, […]
1. Overview This article will be a quick and practical introduction to Spring Data MongoDB. We’ll go over the basics using both the MongoTemplate as well as MongoRepository using practical […]
1. Overview Spring Data JDBC is a persistence framework that is not as complex as Spring Data JPA. It doesn’t provide cache, lazy loading, write-behind, […]
1. Overview This article will explain the basics of Spring Data REST and show how to use it to build a simple REST API. In general, Spring […]
1. Overview In this article, we’ll explore the basics of integrating DynamoDB into a Spring Boot Application with a hands-on, practical example project. We’ll demonstrate how to […]
1. Overview In this quick tutorial, we’ll learn about the performance difference between save() and saveAll() methods in Spring Data. 2. Application In order to test the performance, we’ll […]
1. Overview In the context of ORM, database auditing means tracking and logging events related to persistent entities, or simply entity versioning. Inspired by SQL […]
1. Overview A stored procedure is a group of predefined SQL statements stored in the database. In Java, there are several ways to access stored procedures. In this […]
1. Introduction In this tutorial, we’re going to learn how to sort query results with Spring Data. First, we’ll take a look at the schema of the data […]
1. Overview Pagination is often helpful when we have a large dataset and we want to present it to the user in smaller chunks. Also, […]
1. Introduction In this tutorial, we’re going to learn about limiting query results with JPA and Spring Data JPA. First, we’ll take a look at the table we want to […]
1. Introduction In this quick tutorial, we’ll see how to query entities by dates with Spring Data JPA. We’ll first refresh our memory about how to […]
1. Overview When we use Spring Data JPA with Hibernate, we can use the additional features of Hibernate as well. @DynamicUpdate is one such feature. @DynamicUpdate is a […]
1. Introduction In this quick tutorial, we’ll explore two different ways to disable database auto-configuration in Spring Boot, which can come in handy, say, when testing. […]
1. Overview In this article, we’ll show the ways of handling null parameters in Spring Data JPA. In some cases, when we search for records by parameters we want […]
1. Overview In this tutorial, we’ll have a look at how deleting is done in Spring Data JPA. 2. Sample Entity As we know from the Spring […]