-->
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.  [ 4 posts ] 
Author Message
 Post subject: <class-cache> and <collection-cache>
PostPosted: Wed Jan 28, 2004 5:29 am 
Newbie

Joined: Wed Jan 28, 2004 5:18 am
Posts: 11
Hello,

In User manual (on-line version from Hibernate site), on chapter 12.2.1, is is written:
"Alternatively (preferrably?), you may specify <class-cache> and <collection-cache> elements in hibernate.cfg.xml."

The strange part is the the DTD (on-line version from Hibernate site), the elements <class-cache> and <collection-cache> do not exits.
So, what is with these two elements? Are they implemented in the latest stable release (2.1.1)? Is the second-level cache (replacement of JCS cache) implemented in version 2.1.1?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 28, 2004 7:26 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Check the DTDs that come with the JAR. 2.1.x does have the correct configuration DTD. The site version is the 2.0.x series DTD and it should be updated. Thanks.


Top
 Profile  
 
 Post subject: still did not find the corect DTD
PostPosted: Thu Jan 29, 2004 3:24 am 
Newbie

Joined: Wed Jan 28, 2004 5:18 am
Posts: 11
Nope, I downloaded hibernate 2.1.1 (the recommended version) from SourceForge (http://prdownloads.sourceforge.net/hibe ... 1.1.tar.gz), and it still containt mapping 2.0, without <class-cache> and <collection-cache>.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 29, 2004 3:35 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Check the hibernate-configuration DTD, not hibernate-mapping.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


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

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.