Ahhh okay I see.  I've been seeing an error about one of the types we
use not being serializable from NHProfiler.  Not sure if this is
relevant but I'll give the Ghost Busting a try :)

Thanks.

On May 25, 1:12 pm, Fabio Maulo <[email protected]> wrote:
> Try to use the 
> GhostBuster<http://fabiomaulo.blogspot.com/2008/10/how-test-your-mappings-ghostbu...>
>  .The more easy way is use it with a filled existent DB.
>
> 2009/5/25 Shane C <[email protected]>
>
>
>
>
>
> > When doing the following query...
>
> > var criteria = CurrentSession.CreateCriteria(typeof(Transaction));
>
> > criteria.Add(Restrictions.In("Id", new List<int>(transactionIds)));
>
> > return criteria.List<Transaction>();
>
> > I get the following error "NHibernate.Exceptions.GenericADOException:
> > could not update: "
>
> > NHProfiler shows that after loading everything it NHibernate then
> > tries to update a non-nullable field to null.  This to me says I've
> > got a problem with my mapping which I'm looking for now but I'm
> > wondering why would there even be an update occurring after a query?
>
> > Thanks,
>
> > Shane
>
> --
> Fabio Maulo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to