JPA
-
Enterprise Java
JPA – Should I become a laziness extremist?
When you spoke with the Developers about mapping objects to relational databases, they very often complain about poor JPA performance,…
Read More » -
Enterprise Java
Introducing EclipseLink JPA-RS
In a previous series of posts I covered how to create a JAX-RS service that leveraged JPA for the persistence…
Read More » -
Enterprise Java
JPA: Determining the Owning Side of a Relationship
When using the Java Persistence API (JPA) it is often necessary to create relationships between two entities. These relationships are…
Read More » -
Enterprise Java
JPA – Hibernate – Type mapping on package level
When we are finally mature enough to use some custom types mapping in JPA, we usually stuck with some provider…
Read More » -
Enterprise Java
JPA 2.0 Criteria Query with Hibernate
Criteria Query has been introduced in JPA 2.0. With the help of criteria queries you can write your queries in…
Read More » -
Enterprise Java
JPA and CMT – Why Catching Persistence Exception is Not Enough?
Being in EJB and JPA world using CMT (Container Managed Transactions) is very comfortable. Just define few annotations to demarcate…
Read More » -
Enterprise Java
Types of Entity Managers: Application-managed EntityManager
JPA specification defines few types of EntityManagers / Persistence Contexts. We can have: extended and transactional-scoped EntityManagers, container-managed or application-managed…
Read More » -
Enterprise Java
Bidirectional @OneToMany / @ManyToOne association
One of goals in programming is representing of models from real world. Very often an application need to model some…
Read More » -
Enterprise Java
Bidirectional @OneToOne primary key association
It’s time to continue articles about Hibernate. The last one was dedicated to unidirectional @OneToOne association. So today I will…
Read More »