Hi,
thanks for response. It's strange, because it's 100% working project
and when I get out NH.Search conf. properties
it runs fine.
Which proxy factory do you use in your nh2.1+nhsearch project ?

Thanks


2009/1/28 Pierre Henri Kuate <[email protected]>:
>
> From your StackTrace, it doesn't seem that NH.Search is involved. My
> guess is that something is wrong with either your domain model or your
> mapping...
>
> By the way, it is working with NH 2.1; the tests are passing and my
> project is working just fine :)
>
>
> On Jan 28, 7:34 pm, Jozef Sevcik <[email protected]> wrote:
>> Hi,
>>
>> yes, thanks. I removed flag and built NH.Search against current
>> NHibernate trunk.
>> Does anyone have experience with this ?
>> Here's the exception/stacktrace when I try to build session factory
>> with nh trunk+nh.search trunk:
>>
>> NHibernate.Util.ADOExceptionReporter: 18:31:36,204 ERROR
>> ADOExceptionReporter:0 - Method not found: 'System.Object
>> NHibernate.Proxy.Poco.BasicLazyInitializer.Invoke(System.Reflection.MethodBase,
>> System.Object[], System.Object)'.
>>    at NHibernate.Loader.Loader.DoList(ISessionImplementor session,
>> QueryParameters queryParameters)
>>    at NHibernate.Loader.Loader.ListIgnoreQueryCache(ISessionImplementor
>> session, QueryParameters queryParameters)
>>    at NHibernate.Loader.Loader.List(ISessionImplementor session,
>> QueryParameters queryParameters, ISet`1 querySpaces, IType[]
>> resultTypes)
>>    at NHibernate.Loader.Criteria.CriteriaLoader.List(ISessionImplementor
>> session)
>>    at NHibernate.Impl.SessionImpl.List(CriteriaImpl criteria, IList results)
>>    at NHibernate.Impl.CriteriaImpl.List(IList results)
>>    at NHibernate.Impl.CriteriaImpl.List[T]()
>>    at Winbooks.DAL.DALContext.set_GlobalFolder(Folder value) in
>> c:\work\MBACZ\SVN\omdal2\src\Winbooks.DAL.Core\DALContext.cs:line 304
>>
>> conf. properties:
>> props.Add("proxyfactory.factory_class",
>> "NHibernate.ByteCode.Castle.ProxyFactoryFactory,
>> NHibernate.ByteCode.Castle");
>> props.Add("hibernate.search.default.indexBase", "nh_index");
>> props.Add("hibernate.search.default.indexBase.create", "true");
>> props.Add("hibernate.search.default.directory_provider",
>> typeof(FSDirectoryProvider).AssemblyQualifiedName);
>> props.Add(NHibernate.Search.Environment.AnalyzerClass,
>> typeof(StopAnalyzer).AssemblyQualifiedName);
>>
>> Is NH.Search with NHib 2.1 not supported yet, or am I missing something ?
>>
>> Thanks
>> --
>> S pozdravom / Best regards,
>>
>> Jozef Ševčík
>> [email protected]
>>
>> +420 608 782 813
>> +420 222 364 769
> >
>



-- 
S pozdravom / Best regards,

Jozef Ševčík
[email protected]

+420 608 782 813
+420 222 364 769

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NHibernate Contrib - Development Group" 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.ar/group/nhcdevs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to