-->
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: xdoclet and EHCache
PostPosted: Tue Feb 24, 2004 1:54 pm 
Newbie

Joined: Tue Dec 02, 2003 6:11 pm
Posts: 4
does hibernatedoclet support tags for EHCache ??[/b]


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 24, 2004 2:27 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
<cache> tags are generics (not ehcache specific).
The only place you have to talk about EHCache is in the hibernate.cfg.xml. It is not generated by xdoclet.

_________________
Emmanuel


Top
 Profile  
 
 Post subject: jcs-cache
PostPosted: Tue Feb 24, 2004 6:46 pm 
Newbie

Joined: Tue Dec 02, 2003 6:11 pm
Posts: 4
with xdoclet 1.2b3. and hibernate2.1 with jcs I have used this:
/*
* @hibernate.class table="SOME_TABLE"
* @hibernate.jcs-cache usage="read-only"
*/

is this valid for xdoclet and EHCache too ?
am i missing something?

(it seems that it doesn't work and I should define another file for EHCache configuration..... but I would like to generate these files with xdoclet
)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 25, 2004 6:40 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Use @hibernate.cache

_________________
Emmanuel


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.