-->
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.  [ 4 posts ] 
Author Message
 Post subject: Looking for an example
PostPosted: Mon May 16, 2005 6:51 pm 
Newbie

Joined: Mon May 16, 2005 6:48 pm
Posts: 9
I'm trying to get an example using NHibernate up and running. Preferrably a cascading parent/child save etc... I see that there is an example project that comes with the download which contains a cascading example. But no sql script for the database. ?

Can someone please tell me how I could get the database schema for that example, or a URL to another good article/example online?

Thanks in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 17, 2005 8:41 am 
Contributor
Contributor

Joined: Thu May 12, 2005 12:59 pm
Posts: 20
http://nhibernate.sourceforge.net/nh-do ... arentchild


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 17, 2005 10:39 am 
Contributor
Contributor

Joined: Thu May 12, 2005 9:45 am
Posts: 593
Location: nhibernate.org
simon7 wrote:
Can someone please tell me how I could get the database schema for that example

The schema is generated and used to create the tables (using SchemaExport)
Code:
new SchemaExport(cfg).Create(true, true);


simon7 wrote:
a URL to another good article/example online?

NHibernate Documentation

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


Top
 Profile  
 
 Post subject: thanks
PostPosted: Tue May 17, 2005 12:44 pm 
Newbie

Joined: Mon May 16, 2005 6:48 pm
Posts: 9
Thanks for the info. Pretty wild how it creates the database tables for you.
Would have never guessed that one.

-Mark


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