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.  [ 3 posts ] 
Author Message
 Post subject: NHibernate persistant classes and attributes
PostPosted: Tue Dec 12, 2006 11:45 am 
Newbie

Joined: Sun Nov 05, 2006 10:19 am
Posts: 13
I'm trying to use NHibernate but not with xml mapping.....Just with attributes attached to properties...Is that possible? If yes, where can I find a very good documentation?...or how should I do?

Another question is if it's possible to use Castle Project with NHibernate 1.2 BETA.


Thx in advance


Top
 Profile  
 
 Post subject: NHibernate attributes
PostPosted: Tue Dec 12, 2006 1:02 pm 
Beginner
Beginner

Joined: Thu Apr 27, 2006 12:19 pm
Posts: 33
Location: Seattle, WA
NHibernate attributes can be used without issue instead of the regular hbm.xml mapping files. The one thing I don't like about them is that the attributes clutter up the class files somewhat. The other minor issue is that the documentation isn't nearly is good as Hibernate's EJB 3 implementation. Here's some documentation though: http://nhibernate.sourceforge.net/nh-do ... butes.html

I believe there is a development version of Castle ActiveRecord that works with NHibernate 1.2 that you can probably pull from their source code repository. Ayende mentions that he has branched the ActiveRecord code base for NH1.2: http://www.ayende.com/Blog/ForTheAdvent ... ate12.aspx

The latest Castle ActiveRecord release still only works against NH1.0.2.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 12, 2006 5:18 pm 
Contributor
Contributor

Joined: Sat Sep 24, 2005 11:25 am
Posts: 198
nope, we are now running on 1.2 b2 on the castle trunk


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