I'm workingagainst the current trunk of nhibernate and nhibernate.linq.
Accessing my data via the standard query methods is fine, but when going via
the linq2hibernate provider, I'm getting a MappingException stating "No
persister for: System.*" where * is whatever the first System.* type that
appears in my entity.

The line where it goes wrong is in VisitMemberAccess of
AssociationRewriteVisitor

IPropertyMapping mapping =
sessionFactory.GetEntityPersister(expr.Type.FullName) as IPropertyMapping;

and it's trying to find an entity persister for "System.String",
"System.Bool" etc.

Any ideas? Am I doing something wrong?

Thanks,

James

--~--~---------~--~----~------------~-------~--~----~
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