Ok, this is repeatable now. I'll try to write a test case but it will
be in about a week.

NH Stack trace (removing product info)

   at NHibernate.Impl.AbstractQueryImpl.GuessType(Type clazz)
   at NHibernate.Impl.AbstractQueryImpl.SetParameter[T](String name, T
val)

Error: "Could not determine a type for class:
Domain.Interfaces.Entities.IDevice, Domain.Interfaces,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"

IQuery query = Session.CreateQuery(hql);
query.SetParameter("id",nn)

where nn is a string representation of a Guid

It looks like NH is trying to resolve an interface (IDevice) as a real
entity persister in SessionFactoryImpl.GetEntityPersister(string
entityName). I can't think why it would do that. Is this normal
behaviour?

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