Hi,
I recently recognized that calling session.load() like
does not create a proxy as described by Hibernate's
Java Persistence with Hibernate on p.564
Instead it creates a database hit, just the thing that the Hibernate guys want to avoid for performance reason.
I use Hibernate 3.2. Has anyone made similar experience
My hibernate mapping file says lazy="true", so why on earth does session.load() hit the database with a SELECT instead of giving me a proxy
Regards,
Darya
[ September 12, 2007: Message edited by: Darya Akbari ]