Re: NHibernate.Search build
"Kailuo Wang" <[email protected]>
| Newsgroups | gmane.comp.windows.dotnet.nhibernate.devel |
|---|---|
| Message-ID | <[email protected]> |
Sorry I was wrong, NHS does not work fine with Alpha1 as it lacks the ISynchronization interface as what Felix mentioned above. It works with r3472 On Mon, Jun 9, 2008 at 9:04 PM, Kailuo Wang <[email protected]> wrote: > Fabio, > > NHS works fine with Alpha1, just want to let you know that it now has some > discrepancy with the NH trunk now. > I will worry about this CriteriaClass thing later. > As for getting the listeners from the ISessionFactoryImplementor, it was > exactly what Hibernate.Search was doing ( at least at the time when I was > porting it a couple of weeks ago), they knew it wasn't elegant but it seems > they have no other solutions. > > > On Mon, Jun 9, 2008 at 8:06 PM, Fabio Maulo <[email protected]> wrote: > >> 2008/6/9 Kailuo Wang <[email protected]>: >> >>> Fabio, >>> >>> >>> Two changes in NH trunk break the NHS. >>> 1, CriteriaImpl.CriteriaClass is missing which is needed for NHSearch to >>> parse ICriteria >> >> >> It is EntityOrClassName and I write something in some where (some forum) >> about how find the MappedClass trough EntityOrClassName (normally using >> session factory to get the persister using EntityMode.Poco). >> This way is needed because EntityName feature. >> >> >>> >>> 2, ISessionFactoryImplementor.EventListeners, which is needed for >>> NHSearch to get the SearchFactory stored in the listeners. >> >> >> For listeners I would like what Hibernate.Search (note Hibernate) are >> doing because ISessionFactoryImplementor.EventListeners is not present even >> if SessionFactoryImpl have a public property with exposing initialized >> listeners.... >> Please take a look to original implementation of Search... by the way if >> it is really needed we can expose EventListeners in the interface. >> >> >>> >>> Please advice. >>> >>> Kailuo Wang >>> >>> >>> On Sun, Jun 8, 2008 at 7:37 AM, Felix Gartsman < >>> [email protected]> wrote: >>> >>>> Hello, >>>> I've made a few private modifications to the NH code-base and want to >>>> compile NHibernate.Search from the NHContrib trunk against it. But nor >>>> the >>>> NH trunk, nor the NH 2.0.x branch can be used. The trunk removed >>>> CriteriaClass, and the branch lacks ISynchronization. Before >>>> CriteriaClass >>>> removal I used a modified NHibernate.Search for the trunk build, but now >>>> of >>>> course it is not enough. If trunk is 2.1 and branch lacks >>>> ISynchronization >>>> it means NHibernate.Search won't support the 2.0 release. Will >>>> ISynchronization be back-ported to the branch? I saw a post how to get >>>> CriteriaClass from trunk's ICriteria, so the trunk can be probably used, >>>> but >>>> not the branch which I would prefer for now. >>>> >>>> Felix. >>>> >>>> >>>> >>>> ------------------------------------------------------------------------- >>>> Check out the new SourceForge.net Marketplace. >>>> It's the best place to buy or sell services for >>>> just about anything Open Source. >>>> http://sourceforge.net/services/buy/index.php >>>> _______________________________________________ >>>> Nhibernate-development mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/nhibernate-development >>>> >>> >>> >>> ------------------------------------------------------------------------- >>> Check out the new SourceForge.net Marketplace. >>> It's the best place to buy or sell services for >>> just about anything Open Source. >>> http://sourceforge.net/services/buy/index.php >>> _______________________________________________ >>> Nhibernate-development mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/nhibernate-development >>> >>> >> >> >> -- >> Fabio Maulo >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Nhibernate-development mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/nhibernate-development >> >> > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nhibernate-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nhibernate-development