Re: NHibernate.Search build
"Fabio Maulo" <[email protected]>
| Newsgroups | gmane.comp.windows.dotnet.nhibernate.devel |
|---|---|
| Message-ID | <[email protected]> |
Ah... Kailuo... another thing.. Don't try to maintain NH.Search sync with the trunk. If you want do it create a branch for the actual state of NH.Search to work with 2.0.0 branch... so when we have NH2.0.0GA NH.Search can be released too (like all others ours Contrib projects ;) ). 2008/6/9 Fabio Maulo <[email protected]>: > 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 -- 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