JPA
-
Enterprise Java
Spring Data JPA Tutorial
Managing data between java classes or objects and the relational database is a very cumbersome and tricky task. The DAO…
Read More » -
Enterprise Java
Automatic save of managed JPA entities outside of transaction
Repositories and transactions in Spring go hand in hand. All database access in Spring should be run inside a transaction,…
Read More » -
Enterprise Java
JPA Tips: Avoiding the N + 1 select problem
Introduction ORM frameworks like JPA simplifies our development process by helping us to avoid lots of boilerplate code during the…
Read More » -
Enterprise Java
Spring Boot & JPA & Hibernate & Oracle
In this tutorial we show how to create a Spring Boot application that communicates with an Oracle data source through…
Read More » -
Enterprise Java
Spring Data JPA Example with Spring Boot
1. Introduction In this post, we shall demonstrate how to leverage the powerful Spring Data JPA APIs to interact with…
Read More » -
Enterprise Java
How to map JSON collections using JPA and Hibernate
Introduction The open-source hibernate-types project allows you to map Java objects or Jackson JsonNode as JPA entity properties. Recently, thanks…
Read More » -
Enterprise Java
JPA persistence.xml SQL script definitions
You can define and link to SQL scripts in a JPA persistence context definition that will be executed at runtime.…
Read More » -
Enterprise Java
Access the EntityManager from Spring Data JPA
Spring Data JPA allows you to rapidly develop your data access layer through the use of Repository interfaces. Occasionally you…
Read More » -
Enterprise Java
Understanding the first level JPA cache
I can bet that every Java developer at least heard about L1 (aka EntityManager or Session) cache. But is your level…
Read More »