This content has been marked as final.
Show 2 replies
-
1. Re: findByPrimaryKey hits database each time
adrian.brock Jun 19, 2003 12:30 AM (in response to mfrost)The finder does not load anything into cache.
No bean instance has been constructed
(except the "hollow" one used to execute the finder).
Instead it constructs a proxy object with the
primary key embeded in it.
Once you use that proxy object, the bean
instance will be loaded and inserted into cache.
Regards,
Adrian -
2. Re: findByPrimaryKey hits database each time
mfrost Jun 19, 2003 7:07 AM (in response to mfrost)Finally figured this out late last night!
Many thanks!
Mark