-
Enterprise Java👁 java-interview-questions-answers
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👁 java-interview-questions-answers
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👁 java-interview-questions-answers
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👁 Image
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👁 java-interview-questions-answers
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👁 spring-interview-questions-answers
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👁 java-interview-questions-answers
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 » -
Enterprise Java👁 java-interview-questions-answers
Dealing with Java’s LocalDateTime in JPA
A few days ago I ran into a problem while dealing with a LocalDateTime attribute in JPA. In this blog post…
Read More » -
Enterprise Java👁 spring-interview-questions-answers
Spring Data with JPA and @NamedQueries
If you use Spring Data and @NamedQuery annotations at your JPA entity you can easily use them in a more…
Read More »
