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: Stale State Exception Help Required!!!!!!
PostPosted: Wed Feb 28, 2007 5:26 am 
Beginner
Beginner

Joined: Wed Aug 30, 2006 2:06 am
Posts: 24
I am trying to Save a particular entity and Update another entity in Nhibernate session.

I am getting this error.

Error Message = "Unexpected row count: 0; expected: 1". A first chance exception of type 'NHibernate.StaleStateException' occurred in NHibernate.DLL.

Can some one help me to fix this error.

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 01, 2007 2:55 am 
Senior
Senior

Joined: Mon Aug 21, 2006 9:18 am
Posts: 179
Can you post the code you use?

_________________
If this helped...please remember to rate it!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 30, 2008 2:39 pm 
Newbie

Joined: Wed Jan 30, 2008 2:35 pm
Posts: 2
Did you find out the answer to this. I am having the same problem. The code is falling over on a Criteria.List<T>() call.


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.