See the GitHub issue tracker for Envers. 
https://github.com/nhibernate/nhibernate-envers/issues/37

On Tuesday, January 4, 2022 at 9:16:32 PM UTC+1 [email protected] wrote:

> did you receive any solution for this error bro, I have the same one when 
> maping list of parent items and list of children.
>
> error: NHibernate.MappingException: 'No persister for: 
> System.Collections.Generic.List`1[[IHU.AcademicPerformance.Models.Models.Project,
>  
> IHU.AcademicPerformance.Models, Version=1.0.0.0, Culture=neutral, 
> PublicKeyToken=null]]'
>
> 18 Eylül 2021 Cumartesi tarihinde saat 21:11:44 UTC+3 itibarıyla 
> [email protected] şunları yazdı:
>
>> I have latest version Envers and Nhib
>> <PackageReference Include="NHibernate" Version="5.3.9" />
>> <PackageReference Include="NHibernate.Envers" Version="5.3.1" />
>>
>> And when I save my entity
>>
>> NHibernate.MappingException: No persister for: 
>> CantonProxyForFieldInterceptor at 
>> NHibernate.Impl.SessionFactoryImpl.GetEntityPersister(String entityName) at 
>> NHibernate.Impl.SessionImpl.GetEntityPersister(String entityName, Object 
>> obj) at NHibernate.Envers.Tools.Toolz.getIdentifier(ISessionImplementor 
>> session, Object obj) at 
>> NHibernate.Envers.Tools.Toolz.EntitiesEqual(ISessionImplementor session, 
>> Object obj1, Object obj2) at 
>> NHibernate.Envers.Entities.Mapper.Relation.ToOneIdMapper.MapToMapFromEntity(ISessionImplementor
>>  
>> session, IDictionary`2 data, Object newObj, Object oldObj) at 
>> NHibernate.Envers.Entities.Mapper.MultiPropertyMapper.Map(ISessionImplementor
>>  
>> session, IDictionary`2 data, String[] propertyNames, Object[] newState, 
>> Object[] oldState) at 
>> NHibernate.Envers.Synchronization.Work.AddWorkUnit..ctor(ISessionImplementor 
>> sessionImplementor, String entityName, AuditConfiguration verCfg, Object 
>> id, IEntityPersister entityPersister, Object[] state) at 
>> NHibernate.Envers.Event.AuditEventListener.OnPostInsert(PostInsertEvent 
>> evt) at NHibernate.Action.EntityInsertAction.PostInsert() at 
>> NHibernate.Action.EntityInsertAction.Execute() at 
>> NHibernate.Engine.ActionQueue.InnerExecute(IExecutable executable) at 
>> NHibernate.Engine.ActionQueue.ExecuteActions[T](List`1 list) at 
>> NHibernate.Engine.ActionQueue.ExecuteActions() at 
>> NHibernate.Event.Default.AbstractFlushingEventListener.PerformExecutions(IEventSource
>>  
>> session) at 
>> NHibernate.Event.Default.DefaultFlushEventListener.OnFlush(FlushEvent 
>> event) at NHibernate.Impl.SessionImpl.Flush()
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nhusers/12822ae6-3dee-4809-84ae-a503fccabb37n%40googlegroups.com.

Reply via email to