That mean NH Spatial is compiled to use NH2.0.1

2009/8/28 Humppakäräjät <[email protected]>

>
> Okay I found the problem.
> It was my own fault. I've just overseen 10,000 times following line in
> the hibernate.cfg.xml file:
>
> <property
>
> name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory,
> NHibernate.ByteCode.LinFu</property>
>
> After I removed it all worked fine.
>
>
> btw. the dialect name is:
> <property
>
> name="dialect">NHibernate.Spatial.Dialect.PostGisDialect,NHibernate.Spatial.PostGis</
> property>
>
> Greetings
> Humppakäräjät
>
>
> On Aug 28, 5:18 pm, Humppakäräjät <[email protected]> wrote:
> > Hello,
> >
> > I'm very new to Hibernate/NHibernate. (Database is PostgreSQL/PostGIS)
> >
> > Since two days I'm trying to get a Demo project running which uses the
> > NHibernate.Spatial Beta2 library (http://nhforge.org/wikis/spatial/
> > introduction.aspx).
> >
> > I did every think like it's written in the tutorial (http://
> > nhforge.org/wikis/spatial/configuration-and-mapping.aspx). But when I
> > run the project I get the error that the NHibernate.ByteCode.LinFu.dll
> > assembly missing. Because that assembly is not included in the
> > NHibernate.Spatial package, I just downloaded the latest NHibernate
> > release and tried to use the LinFu assembly included in that release,
> > but it seems to be too new because I'm getting some version errors
> > when using it.
> >
> > I don't need lazy loading...can I somehow disable lazy loading in the
> > hibernate config so NHibernate doesn't require the
> > NHibernate.ByteCode.LinFu.dll assembly any longer?
> >
> > Or can I use NHibernate.Spatial with the latest release of NHibernate
> > or has it to be recompiled for that?
> >
> > What is the name of the PostGIS dialect I have to insert into the
> > hibernate.cfg.xml?
> >
> > Thank you so far.
> > Regards
> > Humppakäräjät
> >
> > PS: sorry for my bad english
> >
>


-- 
Fabio Maulo

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