-->
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: Question with long conversation pattern
PostPosted: Tue Apr 11, 2006 12:32 am 
Newbie

Joined: Fri Feb 24, 2006 6:16 am
Posts: 4
Hello everybody,
I'm using long conversation pattern for a web application, and there are some problems which I want to ask you (who have more experiences in Hibernate than me :) )
1> Is there other way to refresh a list of object except evict() each of them or clear() the session?
2> When I try to update a stale object, an exception occurs(I expect it) and an error message is showed to user, but when I update again(by clicking a button), the error message is not display and nothing happen because the session is not dirty after fail to update the object.
So I want to ask how to store the state of the session after it fail to do something?

thanks for reading my question.


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.