Beginner |
 |
Joined: Mon Sep 15, 2003 6:28 pm Posts: 26
|
I'm curious about how the 2nd-level cache deals with @CollectionOfElements.
The relationships of a @ManyToOne collection can be cached in the 2nd-level cache. If the child object is cached as well, life is sweet.
What happens if you try to cache the relationship to a @CollectionOfElements? Is hibernate smart about keeping all the elements cached?
I'm going through all the Type objects trying to figure out which one deals with a collection of elements but I've been unsuccessful so far.
I suppose I should just try it...
Thanks,
Jeff
|
|