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: AssertionFailure - no collection snapshot for orphan delete
PostPosted: Mon Jun 30, 2008 10:55 am 
Newbie

Joined: Mon Jun 30, 2008 10:33 am
Posts: 1
I'm having problems with NHibernate throwing AssertionFailure exception with message "no collection snapshot for orphan delete" at NHibernate.Impl.CollectionEntry.GetOrphans.
This exception is being thrown after I call NHibernate.Impl.SessionImpl.Find, that is I'm searching in the Session. The real problem is that we cannot reproduce this error in out test environment, so we don't know any possible reasons of this happening.
The only difference in this case is that we call Session.SaveOrUpdate (because we need identifiers of new records to be populated) and then we are doing some manipulations with collections of objects in this session (with no deletes!), after which we inialize and commit HNibernate transaction.
If no likely reason is know, could someone at least tell what does really SessionImp.SaveOrUpdate do and what is allowed to do after this call?


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.