-->
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: Selecting only some columns without using HQL directly?
PostPosted: Fri Jun 05, 2009 4:45 am 
Beginner
Beginner

Joined: Mon Jun 01, 2009 5:39 am
Posts: 34
Hello everyone,

I'd like to know whether it is possible to select only a given set of columns, without using HQL directly. In case it helps, I don't use pojo, only dynamic-map or dom4j mode.

I'm currently browsing the javadoc (I'm using Hibernate 3.3.1 BTW) and cannot see anything about this :(


Top
 Profile  
 
 Post subject: Re: Selecting only some columns without using HQL directly?
PostPosted: Fri Jun 05, 2009 5:39 am 
Beginner
Beginner

Joined: Mon Jun 01, 2009 5:39 am
Posts: 34
Answer to self: I have found a great article on this:

http://www.devarticles.com/c/a/Java/Hib ... -in-Depth/


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.