This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Yes, it is possible that is the eclipse debug mode that loads it.
Quite dirty, but just to see that those data are really lazily-loaded: disable the debug mode of eclipse, after getting the 'event' object from hibernate, terminate or close the hibernate session, then try display the supposed-to-be lazily-loaded data. You should get an exception or null, showing that it was never loaded by hibernate.
Joined: Nov 27, 2012
you are right!!!
after session closed in eclipse debug mode i can see message about all referenced objects
as "com.sun.jdi.InvocationException occurred invoking method", means referenced data not loaded.
i never expected that eclipse debug mode causing referenced data get loaded by parent.