JPA
-
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 » -
Enterprise Java
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 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 » -
Enterprise Java
Reference by Identity in JPA
In a previous post, I mentioned that I opted to reference other aggregates by their primary key, and not by…
Read More » -
Java
OpenMap Tutorial 5 – 3-tier GIS application
1. Introduction Welcome to the 5th tutorial of the OpenMap series of Tutorials. OpenMap is a free open source Java…
Read More » -
Enterprise Java
Using Stored Procedures With JPA, JDBC. Meh, Just Use jOOQ
The current edition of the Java magazine has an article about Big Data Best Practices for JDBC and JPA by…
Read More »