-->
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: rowset result required
PostPosted: Thu Jul 21, 2005 5:49 am 
Is it possible with NHibernate that whenever I will query my database usingh NHibernate, it should return me rowset not the objects.

Can we achieve it by any way with NHibernate?

Regards,
Bhairav


Top
  
 
 Post subject:
PostPosted: Thu Jul 21, 2005 6:31 am 
Regular
Regular

Joined: Mon Jul 18, 2005 4:10 am
Posts: 92
Location: Poland
http://nhibernate.sourceforge.net/h2.0.3-docs/reference/html/manipulating-data.html#manipulating-data-s4

_________________
michal


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 21, 2005 9:21 am 
Contributor
Contributor

Joined: Thu May 12, 2005 9:45 am
Posts: 593
Location: nhibernate.org
To obtain collections of columns, you can do like in SQL:
Code:
select * from YourEntity

or
Code:
select e.ID, e.OtherColumns from YourEntity e

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


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.