I’m using NHibernate version 1.2.1.4000.
I was getting a "Creating a proxy instance failed." Error; looking into it further, the inner exception was being thrown by _proxyGenerator.CreateClassProxy(_persistentClass, _interfaces, initializer, false); In NHibernate.Proxy.CastleProxyFactory, and the message was "Constructor on type 'CProxyTypeMyNamespaceMyClassName_NHibernate_ProxyINHibernateProxy1' not found." When I looked into my class, I found the only constructor (no params) was marked as internal; if I changed this to public, my test worked fine. What are the requirements in NHibernate for entitye classes? Do they require public default constructors? Can anyone clear this up for me? Regards, Remi. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to nhusers@googlegroups.com To unsubscribe from this group, send email to nhusers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---