JPA
-
Enterprise Java
JPA tutorial: Mapping Entities – Part 1
In this article I will discuss about the entity mapping procedure in JPA. As for my examples I will use…
Read More » -
Enterprise Java
JPA Hibernate Alternatives. What can I use if JPA or Hibernate is not good enough for my project?
Hello, how are you? Today we will talk about situations that the use of the JPA/Hibernate is not recommended. Which…
Read More » -
Enterprise Java
JPA Tutorial – Setting Up JPA in a Java SE Environment
JPA stands for Java Persistence API, which basically is a specification that describes a way to persist data into a persistent storage,…
Read More » -
Enterprise Java
Compile-time checking JPA queries
JPA provides several alternatives for querying data. Such alternatives may be classified attending to a variety of criteria, eg, language…
Read More » -
Enterprise Java
A beginner’s guide to JPA/Hibernate flush strategies
Introduction In my previous post I introduced the entity state transitions Object-relational mapping paradigm. All managed entity state transitions are…
Read More » -
Enterprise Java
From JPA to Hibernate’s legacy and enhanced identifier generators
JPA identifier generators JPA defines the following identifier strategies: Strategy Description AUTO…
Read More » -
Enterprise Java
Using @NamedEntityGraph to load JPA entities more selectively in N+1 scenarios
The N+1 problem is a common issue when working with ORM solutions. It happens when you set the fetchType for…
Read More » -
Enterprise Java
Testing with Aliens: How to test a JPA type converter with Arquillian
This post was written together with +Aslak Knutsen (@aslakknutsen). JPA type converters provide an easy way to define how an…
Read More » -
Enterprise Java
How to use a JPA Type Converter to encrypt your data
A few days ago, I read an interesting article by Bear Giles about Database encryption using JPA listeners from 2012.…
Read More »