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: Join Attribute
PostPosted: Tue Jul 17, 2007 3:28 pm 
Beginner
Beginner

Joined: Thu May 31, 2007 1:19 pm
Posts: 23
Hi

I'm using the very excellent <join /> to allow me to merge two DB tables into one class... I would like to use this as an attribute withing the NHibernate.Mapping.Attributes namespace - does this exist, or are there plans to implement it, does anyone know?

Thanks,
Mark.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 18, 2007 3:22 am 
Newbie

Joined: Mon Jul 16, 2007 3:19 am
Posts: 5
Hi,
I need also to merge two tables to one class.
but nhibernate (version 1.0.3.0) did not get the attribute: <join>
in attribute <class>. How did you do that?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 18, 2007 12:01 pm 
Hibernate Team
Hibernate Team

Joined: Tue Jun 13, 2006 11:29 pm
Posts: 315
Location: Calgary, Alberta, Canada
The <join> mapping is implemented in the current trunk. You will need to check it out of the Subversion repository. Alternatively, you can download the 1.2 GA source code and apply the patch. See JIRA issue 466.

_________________
Karl Chu


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 18, 2007 12:03 pm 
Beginner
Beginner

Joined: Thu May 31, 2007 1:19 pm
Posts: 23
I'm using the head of the SVN repository :) Nhibernate-2.0.0.Alpha1

https://nhibernate.svn.sourceforge.net/ ... nate/trunk

A chap called Karl Chu produced the NHibernate implementation of the Hibernate Join, which works a treat but missed the NHibernate 1.2 release.

I know Alpha1 sounds dangerous... it seems pretty stable at the moment :)

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.