Four years of blogging

Time flies when you’re having fun

It’s been fours years since I started this blog, and every year I happen to write a report. If you are curious about my progress, check out the previous reports:

Page Views

Compared to last year, the traffic doubled and now I get around 150K page views and over 75K visitor on a monthly basis.

Overall, in these four years, I got over 2.5 million page views and 1.4 million visitors. Looks like high-performance data access is still a thing after all.

Continue reading “Four years of blogging”

Advertisements

The hibernate-types open-source project is born

Introduction

Recently, I got a very interesting request from one of my readers. Since I’ve been providing many custom types to support JSON, ARRAY or nullable Character types, I decided to start a new open-source project to make it easier for you to get this extra Hibernate Types.

Continue reading “The hibernate-types open-source project is born”

The best way to map an Enum Type with JPA and Hibernate

Introduction

Recently, I got a very good question on Twitter, and I decided that the best way to answer it is with a new article.

In this article, we are going to see how various ways to map an Enum using JPA and Hibernate.

Continue reading “The best way to map an Enum Type with JPA and Hibernate”

The best way to fix the Hibernate “HHH000104: firstResult/maxResults specified with collection fetch; applying in memory!” warning message

Introduction

If you’ve been using Hibernate long enough, then you surely must have seen this WARN log message when doing pagination while join fetching multiple entities.

HHH000104: firstResult/maxResults specified with collection fetch; applying in memory!

In this article, I’m going to show a very elegant solution to fix this issue.

Continue reading “The best way to fix the Hibernate “HHH000104: firstResult/maxResults specified with collection fetch; applying in memory!” warning message”