Joined: Sun Oct 05, 2003 4:29 pm Posts: 14 Location: Toronto, Canada
|
I'm trying to figure out if it is possible to initialize a collection to a certain size of elements, instead of all elements.
I have a User class and a News class. The User class contains a Set of News, which is mapped as lazy. I can't figure out without issuing two queries inside my finder method, how to do something like this.
In a somewhat related question...
Assuming that I use JCS (im not at this time) is it possible to use non lazy collections and have the JCS cache provide better performance?
Thanks,
John
|
|