List/Grid Tag Archives: JPA

EasyCriteria 2.0 – JPA Criteria should be easy
In the post today we will see about the new version of the framework named EasyCriteria. At the end of this post we will see what is to come here in the blog. Unfortunately the JPA ...

Spring Data JPA and pagination
Let us start with the classic JPA way to support pagination. Consider a simple domain class – A ‘Member’ with attributes first name, last name. To support pagination ...

Database Encryption Using JPA Listeners
I recently had to add database encryption to a few fields and discovered a lot of bad advice out there. Architectural Issues The biggest problem is architectural. If your persistence ...

JPA/Hibernate: Version-Based Optimistic Concurrency Control
This article is an introduction to version-based optimistic concurrency control in Hibernate and JPA. The concept is fairly old and much has been written on it, but anyway I have seen ...

Grails: Autodiscovery of JPA-annotated domain classes
There are some issues to be fixed with the support for adding JPA annotations (for example @Entity) to Groovy classes in grails-app/domain in 2.0. This is due to the changes made to ...

Batoo JPA – 15x Faster Than The Leading JPA Provider
Introduction I loved the JPA 1.0 back in early 2000s. I started using it together with EJB 3.0 even before the stable releases. I loved it so much that I contributed bits and parts ...

Guice AOP and the Java Persistence API
The Java Persistence API provides a programming language framework for managing relational data through entity management and ORM APIs. Libraries like Hibernate and Guice Persist implement ...

Schema Creation Script With Hibernate 4, JPA And Maven
The scenario is trivial – you want to generate a database schema creation script while building your application (and then execute the script on the target database) This was relatively ...

EasyCriteria – An easy way to use the JPA Criteria
Today we will see about this tool that make easier to use the JPA Criteria. The application that uses this library will be cleaner, easier to use and portable across the JPA implementations. ...

Ultimate JPA Queries and Tips List – Part 3
Before you read the third part , remember the first and second part of the series JPA: Creating a object from a query The JPA allow us to create objects inside a query, just with the ...

