JPA
-
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 » -
Enterprise Java
Restful API using Spring Rest & Spring Data JPA & H2 with Spring Boot Example
Hello Friends, In this tutorial, you will learn the following : 1. Configuring Spring Rest, Spring Data JPA and H2…
Read More » -
Enterprise Java
Spring Data JPA with central exception handling and VO validations – framework
1. Introduction Over the time, Spring framework became the de-facto standard to create any applications that are REST API based.…
Read More » -
Enterprise Java
OpenLiberty: Error on Injection, works on TomEE and Wildfly
While I was working on this blog, I encountered this error: [INFO ] DSRA8203I: Database product name : MySQL [INFO…
Read More » -
Enterprise Java
Exact Matching of a String Containing a Wild Card in QueryDSL
On one of our recent projects, our client asked for a single search field that would be able to search…
Read More » -
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 »