Nitin KL

5 articles

Querying in JPA 2: Typesafe and Object Oriented

One of the main reasons for the popularity of the Java Persistence API (JPA) was JPQL, which supported an object-oriented mechanism for querying the...

Pessimistic Locking in JPA 2 and Hibernate

When your Java application has multiple transactions reading or modifying the same record in the database, data concurrency is a major issue that you...

Bean Validation in Hibernate and JPA 2

A typical multi-tier Java application requires data validation at various layers, from the client tier to the database tier. Rather than duplicate the validation...

Criteria Queries in JPA 2.0 and Hibernate: The APIs Have It

One of the main areas in which version 2.0 of the Java Persistence API (JPA) improved from the previous version is criteria queries. Not...

JPA 2.0 Cache Vs. Hibernate Cache: Differences in Approach

Hibernate and the Java Persistence API (JPA) are two leading technologies for managing the persistence and object relational mapping (ORM) of Java EE and...

Make sure to follow Developer.com on Social Media