We've been using this system for almost a year now... this is the
first time we're trying to add a new Badge through the form. It's
a .aspx page using a Controller. The inner Exception is as follows:
NHibernate.StaleStateException {"Unexpected row count: 0; expected:
1"} NHibernate.StaleStateException
StackTrace " at
NHibernate.AdoNet.Expectations.BasicExpectation.VerifyOutcomeNonBatched
(Int32 rowCount, IDbCommand statement)
at NHibernate.Impl.NonBatchingBatcher.AddToBatch(IExpectation
expectation)
at NHibernate.Persister.Entity.AbstractEntityPersister.Update
(Object id, Object[] fields, Object[] oldFields, Boolean[]
includeProperty, Int32 j, Object oldVersion, Object obj,
SqlCommandInfo sql, ISessionImplementor session)
at NHibernate.Persister.Entity.AbstractEntityPersister.Update
(Object id, Object[] fields, Int32[] dirtyFields, Boolean
hasDirtyCollection, Object[] oldFields, Object oldVersion, Object obj,
ISessionImplementor session)
at NHibernate.Impl.ScheduledUpdate.Execute()
at NHibernate.Impl.SessionImpl.Execute(IExecutable executable)
at NHibernate.Impl.SessionImpl.ExecuteAll(IList list)
at NHibernate.Impl.SessionImpl.Execute()
at NHibernate.Impl.SessionImpl.Flush()
at Castle.ActiveRecord.ActiveRecordBase.InternalSave(Object
instance, Boolean flush)" String
What row is at 0? I don't understand...
My object is an ActiveRecord model.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Users" 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/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---