Fixing bug in Hibernate Envers
Recently in our project we were reported a strange bug. In a one report where we display historical data provided by Hibernate Envers, users encountered duplicated records in dropdown used for filtering. We tried...
Hibernate Smoke Detector
There is a time in the life of every project when Database Administrator starts to look suspiciously at queries generated by our application. And then he (or she) sends us long list of queries that are not...
Problem with JPA, join column with null values and order by
Recently I’ve encountered a tricky and hard to spot problem with JPA2, joins with null values and ordering. But finally I managed to solve it and as I couldn’t find anything related to this issue in Google, I think...
Java Persistence API and Simple Audit
Recently for a first time have to create in the application functionality to track changes in the database made by users. There are some existing solutions and one of I found using Google is very interesting...