Tags » Fetching

The best way to handle the LazyInitializationException

Follow @vlad_mihalcea

Introduction

The LazyInitializationException is undoubtedly one of the most common exceptions you can get when using Hibernate. This article is going to summarize the best and the worst ways of handling lazy associations. 984 more words

Hibernate

The hibernate.enable_lazy_load_no_trans Anti-Pattern

Follow @vlad_mihalcea

Introduction

I’ve already written about the Open Session in View Anti-Pattern, so now it’s time to add another Hibernate fetching bad practices. Although the… 396 more words

Hibernate

CAN YOU FETCH A FETCHING

This post was posted from a previous incarnation of my writing blog.

Of late, since I seem to have nothing better to do, I became immersed  in the odd relationship between fetch and fetching. 414 more words

Dailies

Let the Pawlympic Games Begin!

Hi everyone it’s Millie & Walter here. The people Olympics have just begun but we here in Blogville didn’t want to be left out of the fun so we are holding the Pawlympics at the same time. 239 more words

Dogs

fetch, fetching

By LAWRENCE FELLOWS To fetch is to go after something and bring it back. Fetching is not quite the same word, although both come to us from variations of the Old English… 51 more words
Verbs

Fetching

She never played the fetching, pretty girl role. She wasn’t one to flick her hair and giggle stupidly. She didn’t do girly, she was no damsel in distress. 23 more words

Writing

How to lazy load entity properties with Hibernate

Follow @vlad_mihalcea

Introduction

One of my readers bumped into the JSON mapping post and asked me if we can fetch the JSON properties lazily. This post demonstrates how easily this can be done when using Hibernate as a JPA provider. 652 more words

Hibernate