JPA
-
Enterprise Java
JPA Pitfalls / Mistakes
From my experience, both in helping teams and conducting training, here are some pitfalls/mistakes I have encountered that caused some…
Read More » -
Enterprise Java
A Working DeltaSpike Tutorial
On a recent project, I was faced with an interesting problem: take a service method that was given a single…
Read More » -
Enterprise Java
Pre Java EE 7 alternative to JPA 2.1 unsynchronized persistence context
Unsynchronized persistence context in Java EE 7 JPA 2.1 introduced the concept of unsynchronized persistence context which allows fine grained…
Read More » -
Enterprise Java
JPA in case of asynchronous processing
Few years ago in Java world it was almost obvious that every “enterprise” class project needed JPA to communicate with…
Read More » -
Enterprise Java
Integrating JPA Hibernate with OptaPlanner
We’ve been improving the integration of OptaPlanner with the rest of JEE, so it’s easier to build end user applications…
Read More » -
Enterprise Java
WebSocket Client API in Java EE 7
In this post, let’s explore the less talked about Web Socket Client API and how to leverage it within a…
Read More » -
Enterprise Java
Using JPA And CDI Beans With Camel on WildFly
I didn’t really plan for it, but with a conference free month, I had the chance to dig around a…
Read More » -
Enterprise Java
How To Stream/Serialize JPA Result As JAX-RS Response For Large Data
There are times that retrieving a large data set through JPA is necessary (e.g. more than 1,000,000 records) and having…
Read More » -
Enterprise Java
Custom Boolean User Type with Hibernate JPA
The ANSI SQL 1999 standard introduced a BOOLEAN data type (although unfortunately only as an optional feature). But to date…
Read More »