JPA
-
Enterprise Java
JPA 2.1 Entity Graph – Part 1: Named entity graphs
Lazy loading was often an issue with JPA 2.0. You have to define at the entity if you want to…
Read More » -
Enterprise Java
JPA 2.1 Type Converter – The better way to persist enums
Persisting enums with JPA 2.0 is possible, but there is no nice way to do it. Using the @Enumerated annotation,…
Read More » -
Enterprise Java
SpringMVC4 + Spring Data JPA + SpringSecurity configuration using JavaConfig
In this article we will see how to configure and integrate SpringMVC4, Spring Data JPA with Hibernate and SpringSecurity using…
Read More » -
Enterprise Java
Exporting Spring Data JPA Repositories as REST Services using Spring Data REST
Spring Data modules provides various modules to work with various types of datasources like RDBMS, NOSQL stores etc in unified…
Read More » -
Enterprise Java
Project Student: JPA Criteria Queries
This is part of Project Student. Other posts are Webservice Client With Jersey, Webservice Server with Jersey, Business Layer, Persistence…
Read More » -
Enterprise Java
Primefaces DataTable Lazy Loading with pagination, filtering and sorting using JPA Criteria, @ViewScoped
Primefaces datatable lazy pagination works, but I was really frustrated after searching for a full example using Criteria in the…
Read More » -
Enterprise Java
Java: Using the specification pattern with JPA
This article is an introduction to using the specification pattern in Java. We also will see how we can combine…
Read More » -
Enterprise Java
JOOQ Facts: From JPA Annotations to JOOQ Table Mappings
JOOQ is a neat framework, and it addresses a long issue I’ve had with advanced dynamic filtered queries. While Hibernate…
Read More » -
Enterprise Java
Efficiently delete data with JPA and Hibernate
You may come to the situation where you have to perform a bulk deletion on a huge amount of datasets…
Read More »