Results 1 to 2 of 2

Thread: Activate NHibernate integration

  1. #1

    Default Activate NHibernate integration

    Hello,

    I would like to use the NHibernate integration for a new ASP.NET 2.0 project. But I can't figure out how to enable it. I've seen that the specific projects are in the folder sandbox but I cannot compile them (with VS 2005).

    So how can I use the NHibernate integration? Is there already a turorial or a sample project available to look how the integration works?

    Thanks for your help!

    Best regards,
    Dominik

  2. #2
    Join Date
    Mar 2006
    Location
    Ukraine, CR
    Posts
    11

    Default

    Hi! It is possible. I did it yesterday witn VS 2005 and I can confirm that all works fine.

    See my instrunction below:

    1) Open SpringAir2 soluition using VS 2005 (ASP.NET 2 version)
    2) Add Existing projects : Spring.Data, Spring.Orm.NHibernate, Spring.Orm.NHibernate.Tests (these projects are availabe from sandbox directory) you will see project migration migration wizard. Do migration, all projects will be migrated without any problems)
    3) Try to Compile
    4) You will get few errors and warnings
    5) Fix errors (These ones are easy, one of them is at XML comments and rest of them are with assembly overwiting)
    6) Compile again and all project will be completed well (make sure that all referrences link to their .NET 2.0 versions)
    7) Run Spring.Orm.NHibernate.Tests to see how it works.

    Maybe I missed something, but basically I did something as writen above.

    Let me know if you will have some problem again

Similar Threads

  1. spring.net + nhibernate integration
    By greatewei in forum Data Access
    Replies: 16
    Last Post: 05-22-2006, 01:19 PM
  2. Update on Spring.net/nHibernate Integration
    By ivolved in forum Data Access
    Replies: 24
    Last Post: 03-12-2006, 02:58 PM
  3. Using NHibernate without DAOs
    By marceloh in forum Data Access
    Replies: 0
    Last Post: 02-26-2006, 03:47 AM
  4. NHibernate: dynamically registering mappings
    By mgaerber in forum Data Access
    Replies: 0
    Last Post: 02-13-2006, 08:59 AM
  5. nhibernate .9 - log4net
    By stephenro in forum Data Access
    Replies: 1
    Last Post: 08-04-2005, 03:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •