-->
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.  [ 1 post ] 
Author Message
 Post subject: session synchronization problem
PostPosted: Tue Nov 23, 2010 1:57 pm 
Newbie

Joined: Thu Mar 12, 2009 11:54 pm
Posts: 3
Location: India
I have a j2ee application and standalone application. Both the application are pointing to the same schema.

When i am updating the schema using the stand alone application session in the j2ee application goes out of sync. To avoid this, before reading any objects in the j2ee application i am using session.flush() to synchronize the session.
But the problem is that even after using session.flush() its not guaranteed that session is synchronized.
Observed one thing whenever i am debugging the j2ee application, session.flush works fine, and i could read the objects correctly. Is there any way to forcefully synchronize/flush the session?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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.