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: How could I use TreeCache POJOCache for 2ndLevel cache
PostPosted: Wed Aug 16, 2006 6:28 am 
Newbie

Joined: Wed Aug 16, 2006 6:23 am
Posts: 2
is that I just configure hibernate.cfg.xml to enable Treecache and the application will run faster 10 time? without modification of any code?

:P I am not sure. I am new to this. but My manager tell me that he expected that ...

Does we need to modify the code in application to put , get session?


Hibernate version: 3.x

Mapping documents:xml file

Name and version of the database you are using: MYSQL 5


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 16, 2006 6:44 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
caching doesn't just automagically gives you 10 time performance.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: I know
PostPosted: Wed Aug 16, 2006 7:35 am 
Newbie

Joined: Wed Aug 16, 2006 6:23 am
Posts: 2
I just. want to know.. What I need to do.

I just configure hibernate.cfg.xml to use treecach

and then it will tell me that It can't find treecach.xml

where I have to place treecach.xml ..

I try to read in document ..
I can't find .. the document tell about how to create treecache.xml


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 16, 2006 7:57 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
treecache.xml is documented in JBoss Cache docs.

There are also samples in there afaik.

_________________
Max
Don't forget to rate


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.