JPA
-
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 » -
Enterprise Java
Spring Boot Data JPA – beginner guide
Databases form an integral part of computer applications. With it comes considerable amount of database operations and the corresponding code.…
Read More » -
Enterprise Java
JPA @Embeddable and @Embedded
Introduction: As an object-oriented developer, we want to avoid having larger classes with tons of unrelatable fields. And so, we…
Read More » -
Enterprise Java
Read replicas and Spring Data Part 4: Configuring the read repository
Previously we set up two EntityManagers in the same application. One for the reads and one for the writes. Now…
Read More » -
Enterprise Java
Pagination and Sorting with Spring Data JPA
Learn Pagination and Sorting with Spring Data JPA with code examples. Understand how to get Paginated and Sorted results using…
Read More » -
Enterprise Java
How to map PostgreSQL Enums to JPA entity properties using Hibernate
Introduction The open-source hibernate-types project allows you to map JSON, ARRAY, YearMonth, Month or database-specific columns (e.g. INET addresses). In…
Read More »