-->
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: nhibernate
PostPosted: Sat Mar 22, 2008 8:00 pm 
Newbie

Joined: Sat Mar 22, 2008 7:56 pm
Posts: 2
Hello !

Is it possible to use nHibernate without a mapping file? I mean that nHibernate knows the table names, ID, etc. by itself because the class name, propertie names, etc. stick to the db names?

Thanks a lot for any hint about this !

Regards,
Fabianus


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 23, 2008 6:09 am 
Expert
Expert

Joined: Tue Aug 23, 2005 5:52 am
Posts: 335
What you're looking for is the ActiveRecord patten. Swing on over to www.castleproject.org and you can find an implementation that uses NHibernate there.

Symon.

_________________
Symon Rottem
http://blog.symbiotic-development.com


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.