-->
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.  [ 9 posts ] 
Author Message
 Post subject: Searching NHibernate Tutorials
PostPosted: Fri Dec 23, 2005 6:13 am 
Beginner
Beginner

Joined: Fri Dec 23, 2005 6:05 am
Posts: 42
Hi,

I am an absolutly noob in ORM/NHibernate. Does anyone knows any good tutorials out there?

Thank you

eg


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 23, 2005 6:15 am 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
The quick start guide (http://wiki.nhibernate.org/display/NH/Quick+Start+Guide). Right now it's in our Confluence Wiki, but I'm going to move it to this Wiki shortly.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 23, 2005 8:04 am 
Contributor
Contributor

Joined: Thu May 12, 2005 9:45 am
Posts: 593
Location: nhibernate.org
There are many articles/tutorials about NHibernate here: http://wiki.nhibernate.org/display/NH/Documentation

You may start with NHibernateEg.

_________________
Pierre Henri Kuaté.
Get NHibernate in Action Now!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 23, 2005 10:01 am 
Beginner
Beginner

Joined: Fri Dec 23, 2005 6:05 am
Posts: 42
Thank You all.

I've allready worked out NHibernateEg. It shows a comfortable way of handling NHibernate by using Attributes. But i guess maybe it is better to start the hard way, by doing the xmls by hand.

Also a nice try was the tutorial of Justin Gehtland (http://www.theserverside.net/articles/showarticle.tss?id=NHibernate). Though I is filled with lots of errors. So you get confused after a few minutes.

I will have a look on the other resources you both wrote there.

Thx alot.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 23, 2005 10:21 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
There is the official Hibernate tutorial in chapter 1 of the Hibernate reference documentation. I guess it isn't very difficult to translate from Java to C#: http://hibernate.org/hib_docs/v3/refere ... orial.html


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 23, 2005 10:41 am 
Beginner
Beginner

Joined: Fri Dec 23, 2005 6:05 am
Posts: 42
To tell the truth, I bougth "Hibernate in Action" a half year ago, as I was still working with Java. With changing my Job I also changed from Java to C#. So I really never neither opened the Book nor read a line. ;)
If you say that it is so similar, I will give it a try.

Is NHibernate using the same object model than Hibernate?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 23, 2005 12:37 pm 
Expert
Expert

Joined: Fri May 13, 2005 5:56 pm
Posts: 308
Location: Santa Barbara, California, USA
I'm not exactly sure what you mean by "same object model" but I can attest that the HIA book is great for the basic usage of NH (classes, mappings, collections, queries, etc).

There is some specific information about designing layerd applications and strategies for session handling that are more specific to Java and don't map well for .NET/ASP. In those cases there is again a FAQ on the NH Wiki for those issues:

http://www.hibernate.org/359.html

-devon


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 23, 2005 3:33 pm 
Regular
Regular

Joined: Mon May 16, 2005 2:15 pm
Posts: 59
El Gringo wrote:
To tell the truth, I bougth "Hibernate in Action" a half year ago, as I was still working with Java. With changing my Job I also changed from Java to C#. So I really never neither opened the Book nor read a line. ;)
If you say that it is so similar, I will give it a try.

Is NHibernate using the same object model than Hibernate?


It's not exactally the same, but the API is very similar, the book definatly helped me with NHibernate.

BOb


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 28, 2005 7:12 am 
Newbie

Joined: Wed Dec 21, 2005 6:17 am
Posts: 10
sergey wrote:
The quick start guide (http://wiki.nhibernate.org/display/NH/Quick+Start+Guide). Right now it's in our Confluence Wiki, but I'm going to move it to this Wiki shortly.


So are there also some tutorials as short as the quick start guide for NHibernate and ASP.NET (with Visual Studio 2005)?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 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.