-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: @CollectionOfElements and the 2nd-level cache
PostPosted: Mon Apr 03, 2006 11:43 pm 
Beginner
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.