jpa

A collection of 5 posts

A Java geek
  • Me
  • Books
  • Speaking
  • Mentions
  • Focus
Mar 28, 2021 hibernate jpa persistence

A (definitive?) guide on LazyInitializationException

Posts that have been written about Hibernate’s LazyInitializationException could probably fill whole books. Yet, I believe each of them focuses on a particular aspect of it: some on a specific solution, some on how to solve it with Spring Boot, etc. I’d like this post to be the definitive guide on the subject, even though I’m pretty sure it won’t. At least, I’ll be able to point others to it.

Nicolas Fränkel
Sep 29, 2019 hibernate query jpa persistence

Hibernate's Query-By-Example

Despite the current trend regarding &nbps;ORM frameworks, I never had any issue using JPA nor Hibernate. I must admit that my use-cases were pretty simple. Also, since that was already some years ago, we hosted those applications on our own on-site infrastructure so that the search for the ultimate performance - and its associated savings - was not a goal; empowering junior developers who were not familiar with a lot of technologies was.

Nicolas Fränkel
Jul 1, 2012 jpa persistence spring data

Easier JPA with Spring Data JPA

Database access in Java went through some steps: pure Java DataBase Connectivity, proprietary frameworks, standards such as EJB Entities and Java Data Objects, OpenSource frameworks such as Hibernate and EclipseLink (known as TopLink at the time).

Nicolas Fränkel
Feb 17, 2010 get hibernate jpa load proxy

Hibernate hard facts - Part 4

This is the 4th post in the Hibernate hard facts focus series. In this article, I will show the subtle differences between get() and load() methods.

Nicolas Fränkel
Mar 10, 2009 hibernate jpa persistence

Framework agnostic JPA

With new JEE 5 standard has come the EJB3 specifications. From an historical point of view, EJBs come into 3 different flavors: (i) Entity for persistence, (ii) Session for business logic and (iii) Message-Driven for listeners. Entity EJB are the most time-consuming to develop in their 2.1 version. Apart from the inherent complexity of EJB (local and remote interfaces, homes), developing an EJB 2 is error-prone because of the mapping mechanism.

Nicolas Fränkel
A Java geek © 2008-2026
v. bc04c88300c3ec997ce8470fbff5395dc9e518b1/13264050981
Latest Posts