NHibernate any1?

Discussion in 'Techie Discussion' started by Gahn, Jul 7, 2007.

  1. Gahn

    Gahn Resident Freddy

    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?
     
  2. SheepCow

    SheepCow Bringer of Code Staff member Moderator

    From the number of reads and no replies, I'd assume no one has a clue what NHibernate is
     
  3. Gahn

    Gahn Resident Freddy

    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
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.