JPA
-
Enterprise Java
Spring-injected Beans in JPA EntityListeners
In Database Encryption Using JPA Listeners I discussed transparent encryption using a JPA EntityListener. This approach was transparent in the…
Read More » -
Enterprise Java
JPA 2 | Fetch Joins and whether we should use them
Introduction Recently I have been working with FETCH JOINS in JPA 2 to fetch the data eagerly from the Database…
Read More » -
Enterprise Java
Spring Data JPA Tutorial Part One: Configuration
Spring Data JPA is a project which aims both to simplify the creation of JPA based repositories and to reduce…
Read More » -
Enterprise Java
How to use Reflection to Document your Data Model based on JPA Annotations
So using JPA, Hibernate or EBeans is cool when you can just annotate your Java classes, but haven’t you always…
Read More » -
Enterprise Java
JPA 2 | Dynamic Queries Vs Named Queries
JPA has its own Query language called JPQL. JPQL is very similar to SQL, with one major difference being that…
Read More » -
Enterprise Java
JPA 2 | EntityManagers, Transactions and everything around it
Introduction One of the most confusing and unclear thing for me, as a Java Developer has been the mystery surrounding the Transaction…
Read More » -
Enterprise Java
Mapping enums done right with @Convert in JPA 2.1
If you ever worked with Java enums in JPA you are definitely aware of their limitations and traps. Using enum…
Read More » -
Enterprise Java
Spring JPA Data + Hibernate + MySQL + Maven
Development of web-applications with the help of Spring MVC implies creation of several logical layers of architecture. One of the…
Read More » -
Enterprise Java
JPA – Querydsl Projections
In my last post: JPA – Basic Projections – I’ve mentioned about two basic possibilities of building JPA Projections. This…
Read More »