-->
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.  [ 3 posts ] 
Author Message
 Post subject: Data consitency
PostPosted: Wed Feb 08, 2006 10:23 am 
Newbie

Joined: Wed Feb 08, 2006 9:57 am
Posts: 3
Hi all,

I currently have two java classes User and Group with a many-to-many association.

The physical model has 3 tables
USER,GROUP,USER_GROUPS.

I am facing the following problem :

Everything is working fine despite that when I alter the data outside the application (let say directly into the DB)
the results are still displaying the old data and in order to see the changes I must redeploy the whole app (war file).


I use a second level cache that I disabled for test purposes.
I am using a datasource but even when I redeploy the connection pool behind it works nothing!!! I defenetly have to redeploy the app in order to have consitent results.

Has anyone already faced the same strange behaviour and if so, could you please advice me on how to solve it ??

Thanks in advance!!!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 08, 2006 11:01 am 
CGLIB Developer
CGLIB Developer

Joined: Thu Aug 28, 2003 1:44 pm
Posts: 1217
Location: Vilnius, Lithuania
http://www.hibernate.org/hib_docs/v3/ap ... rializable)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 08, 2006 11:24 am 
Newbie

Joined: Wed Feb 08, 2006 9:57 am
Posts: 3
Thanks alot but using evict(Class)
did not solve the problem at all.

I don't think it is related to the second cache.

I disabled the second level cache and evict all classes but I'm still having the same problme!!!

Anyway thanks a lot for having tried to help.


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