-->
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.  [ 2 posts ] 
Author Message
 Post subject: oscache and insert and update tables
PostPosted: Wed Feb 11, 2009 4:28 am 
Newbie

Joined: Wed Feb 11, 2009 3:57 am
Posts: 2
Hi there

I wanted to implement oscache in my web application with hibernate 3.1

i have osacache jar version 2.4.1

i have configured following properties in hibernate.cfg.xml

<property name="hibernate.cache.provider_class">com.anm.websearchengine.api.OSCacheProvider</property>
<property name="com.opensymphony.oscache.configurationResourceName">oscache.properties</property>
<property name="hibernate.cache.use_query_cache">true</property>

oscache is working fine.Queries are get cached

Problem :
1.All of my Queries gets Cached in perticular request . i want to cached specific Query in request
2. inserting data in table is also gets cached. i dnt wanna to cached inserting and updating tables


Please any Help ??????????


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 12, 2009 2:50 am 
Newbie

Joined: Wed Feb 11, 2009 3:57 am
Posts: 2
guys .. i was wrong ..actually whole page was getting cached beacuase i have configured cache filter.

please ingnore the above post.

my Question about cache

1.does osacache2.4.1.jar support hibernate 3.1 version ?
2. i wanted to implement cache intilligence where i need to retrive information like what are the page gets cached,what are the object gets cached.


i did googling but not found any solution ..

i dont know from where i can start

needs help


-- tushar


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.