-->
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.  [ 1 post ] 
Author Message
 Post subject: Mapping to Multiple Tables
PostPosted: Tue Feb 13, 2007 1:52 am 
Newbie

Joined: Sat Jan 20, 2007 3:16 pm
Posts: 9
Hibernate version:1.2.0.Beta3

Hi,

I am few weeks new to Hibernate. I was looking for ways to create an immutable summary object for display purposes in a multi-tier envirionment. This summary object would be derived from multiple tables.

I found that at least one Hibernate blog (blog.exadel.com) describing

a) a <subselect> tag which allows a query as part of the class mapping.

b) a <join> tag in class mapping to join other tables.

Neither of these seemed to work for me in NHibernate. Just wanted to make sure these tags didn't get ported and I am not missing anything.

In the absence of these I am considering options including a view with ANSI SQL, some 'Lite' association objects.

thanks
Murthy


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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.