
Working with Kotlin and JPA
1. Introduction One of Kotlin’s characteristics is the interoperability with Java libraries, and JPA is certainly one of these. In this tutorial, we’ll explore how to use […]
1. Introduction One of Kotlin’s characteristics is the interoperability with Java libraries, and JPA is certainly one of these. In this tutorial, we’ll explore how to use […]
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. 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. Introduction In this quick tutorial, we’re going to cover various ways of creating LIKE queries in Spring JPA Repositories. We’ll start by looking at the […]
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. 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. Introduction In this short tutorial, we’ll learn how to create update queries with the Spring Data JPA @Query annotation. We’ll achieve this by using the @Modifying annotation. First, we’ll […]
1. Overview Spring Data provides many ways to define a query that we can execute. One of these is the @Query annotation. In this tutorial, we’ll demonstrate how […]
1. Overview This tutorial will focus on introducing Spring Data JPA into a Spring project, and fully configuring the persistence layer. For a step by step introduction […]
1. Overview This tutorial shows how to set up Spring with JPA, using Hibernate as a persistence provider. For a step-by-step introduction to setting up the […]
1. Overview Spring JDBC and JPA provide abstractions over native JDBC APIs, allowing developers to do away with native SQL queries. However, we often need to see those auto-generated […]
1. Overview This article will show how to implement the DAO with Spring and JPA. For the core JPA configuration, see the article about JPA with Spring. 2. […]
1. Overview Persistence providers like Hibernate make use of persistence context to manage the entity lifecycle in an application. In this tutorial, we’ll start with […]
1. Overview This tutorial will discuss the right way to configure Spring Transactions, how to use the @Transactional annotation, and common pitfalls. For a more in-depth discussion on […]