JPA
-
Enterprise Java
Using Enum in Spring Data JPA Queries
When constructing our persistence layer using Spring Data JPA, we frequently deal with entities that contain enum fields. These enum…
Read More » -
Enterprise Java
Resolving Spring Boot H2 JdbcSQLSyntaxErrorException: “Table not found”
Spring Boot makes it easy to develop Spring applications with its pre-configured components. However, we often encounter the JdbcSQLSyntaxErrorException: Table…
Read More » -
Enterprise Java
Automatically Saving Child Entities in JPA
In JPA applications, we often encounter entities with parent-child relationships. Persisting these entities efficiently involves saving the parent and automatically…
Read More » -
Enterprise Java
Querydsl vs. JPA Criteria
Querydsl and JPA Criteria are widely used frameworks for creating type-safe queries in Java. Both offer methods to express queries…
Read More » -
Enterprise Java
Refresh and Fetch an Entity After Save in Spring Data JPA
The Java Persistence API (JPA) serves as a connector linking Java objects and relational databases, facilitating the smooth persistence and…
Read More » -
Enterprise Java
Changing The Way We Use JPA
I’ve been updating some training materials recently, and thinking about better ways of teaching and talking about JPA. One of…
Read More » -
Core Java
Java 16 Records with JPA and jOOQ
Java Records The new Java version 16 includes a new feature: Records https://openjdk.java.net/jeps/395 “Enhance the Java programming language with records, which are…
Read More » -
Enterprise Java
How to get Type-Safe and Intuitive Hibernate/JPA Queries by Leveraging Java Streams
A large proportion of Java database applications are using Hibernate/JPA to bridge the gap between Java and SQL. Until recently,…
Read More » -
Enterprise Java
Spring boot data JPA – Query for nested object
Nowadays spring boot and spring data are widely used frameworks. If you are building web application in java, spring boot…
Read More »