-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Example of NHibernate in VS.Net 2005
PostPosted: Mon Feb 13, 2006 3:20 pm 
Regular
Regular

Joined: Tue Feb 07, 2006 4:27 pm
Posts: 69
I'm new to both NHernate and VS.Net 2005 and was hoping someone has a URL that shows an example of using NHibernate with VS.Net 2005...

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 13, 2006 3:29 pm 
Newbie

Joined: Fri Feb 10, 2006 4:44 pm
Posts: 2
I have recently spend quite a few hours to get NHibernate to get me one result set with VIsual Studio 2005. I don't have a link to the code for that, but here are some points from my prolonged experience.

1) Keep NHibernate related code in a seperate DLL project, dont mix it with your regular web project. This is because, with web project, you will not get the name of assembly to load.

2) I could not get NHibernate to read the config file. If it doesn't work for you, then try setting the properties programatically.

3) I used MySQL MyISAM tables, which I like coz they offer amazing speed. Unfortunately NHibernate doesnt work with that. I removed the transaction related code to make it work.

I myself have tons of questions about which I am trying to find answers in this forum and for eahc search i get million posts. Maybe putting a new post could be simpler !

cheers !


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.