Hola Grupo, Necesito pedirles un favor especial y es el relacionado
con un error con NHIBERNATE. Lo mas curioso de todo esto es que en el
servidor de desarrollo y en otras máquinas todo funciona a la
perfeccion, pero en producción esta arrojando el siguiente error:

ERROR NHibernate.Impl.SessionImpl [(null)] <(null)> - could not
synchronize database state with session
NHibernate.StaleStateException: Unexpected row count: -1; expected:
1   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()

SI ALGUNO DE USTEDES ME PUDIERA HECHAR UNA MANO, LES ESTARÍA SUPER
AGRADECIDO.

-- 
Para escribir al Grupo, hágalo a esta dirección: 
[email protected]
Para más, visite: http://groups.google.com/group/NHibernate-Hispano

Responder a