A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
performance tuning using select and join
Joined: May 18, 2005
Oct 18, 2010 00:11:38
I was reading about the performance tuning in hibernate and came across the following statment.
select: Lazily load the referenced object or collection with a separate SQL SELECT statement. It is the default value
join: Eagerly load the referenced object or collection using an outer join
I know that in case of hibernte3, the lazy is true by default. That means that the associcated object would be fetched only when its method is called.
Now i wanted to understand that the above statements for select and join holds true only when the lazy is set to false? Please explain.
SCJP 1.4, SCWCD1.4, OCA(1Z0-007)
subject: performance tuning using select and join
Hibernate one-to-many weirdness...
hibernate left join fetch question
How to visit lazy-loaded member outside Session scope?
What is difference between lazy=true and fetch=select
set lazy to false in runtime in Hibernate
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014