-->
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: disabling ehcache on hibernate 3X
PostPosted: Thu Jun 09, 2005 4:05 pm 
Newbie

Joined: Sun Nov 23, 2003 1:46 pm
Posts: 15
Hi,

During development i need to disable the now automatic hibernate cache using ehcache. This is because i do hot deployment on jboss using ant, but with the enabled cache whenever i do it hibernate objects don´t work correctly anymore. so.. how di i disable cache feature in hibernate 3? I´ve already seen how to change it , but coul´d not find a way to disable it completly.

tx in advance,
Marcos Maia.

_________________
Marcos Maia


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 09, 2005 4:41 pm 
Beginner
Beginner

Joined: Mon Sep 15, 2003 12:41 pm
Posts: 21
when I needed to do the same, I just wrote an implementation of the required interface, and made it return null for any get, and do nothing for any put. it worked just fine.

P.S. it was on Hib 2.1.x, not 3. but I believe the approach is the same.


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.