I just want to ask, how to prove that hibernate is doing lazy loading .
I have code like this :

And I try to test lazy loading in hibernate (jpa) with this code :

Actually, I don’t wont to load “alamat” property, because that’s a TEXT. But when I try to debug the code, I get the output trace like this :

Hibernate is still select alamat column, and in the debug veriable, I found that Hibernate is really load alamat column :

The Hibernate manual notes:
How to achieve this is explained in chapter 20.1.8. Using lazy property fetching of the manual. It requires a special build process.