NHibernate any1?

Gahn

Resident Freddy
Joined
Jan 16, 2004
Messages
5,056
Any1 can link me to some working vb.NET samples of NHibernate?
I followed the Quick Start Guide from hibernate.org, provided am using, for test purposes, a Sql 2005 Express, hence am not sure it is even supported, it returns me an error pretending i didn't declared the connection.driver_class.
The web.config configSections is the following:

<configSections>
<section
name="nhibernate"
type="NHibernate.Cfg.ConfigurationSectionHandler, NHibernate"
/>
</configSections>
<connectionStrings />
<nhibernate xmlns="urn:nhibernate-configuration-2.2">
<session-factory>
<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
<property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property>
<property name="dialect">NHibernate.Dialect.MsSql2005Dialect</property>
<property name="connection.connection_string">
Data Source=_MyServer;Initial Catalog=_MyDb;Integrated Security=True;Persist Security
Info=True;
</property>
</session-factory>
</nhibernate>

Can't see anything wrong?
Any light?
 

SheepCow

Bringer of Code
Joined
Dec 22, 2003
Messages
1,365
From the number of reads and no replies, I'd assume no one has a clue what NHibernate is
 

Gahn

Resident Freddy
Joined
Jan 16, 2004
Messages
5,056
It's an ORM (Object Relactional Mapping) framework; theorically it helps u abstract a Relational Database in consumable Objects or Classes to be easily used client side for rapid development.

hibernate.org - Hibernate if any1 is interested
 

Users who are viewing this thread

Top Bottom