Armin,
I looked at it a little better and it is because i have my own cache
for model and view objects because they are used so much.
I think that I also understand why the initial organisation query only
queries the organisation and country table while there are a lot more
references. When the
Dennis Bekkering wrote:
Armin,
It was the cache setting not the lazy loading.Fast as lightning again ;-)
Strange though that without caching the 2nd number of queries is less?
Indeed that's strange! Are you sure that no cache was used in your test
(e.g. enable logging for class
Armin,
It was the cache setting not the lazy loading.Fast as lightning again ;-)
Strange though that without caching the 2nd number of queries is less?
thanks,
Dennis
did you notice that the ObjectCache configuration moved from
OJB.properties to repository file between rc7 and 1.0.4?
You have
Hello,
I recently switched from rc7 to 1.0.4 and lazy loading seem to happen any
more. Can someone please check my config out.
1.0.4 fires twice as much queries?
thanks.
sql output get all organisations 1.0.4
just after clear cache