-->
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: Filtering data
PostPosted: Tue Jun 06, 2006 9:19 am 
Newbie

Joined: Thu May 25, 2006 10:27 am
Posts: 3
Hi,

Filtering data (Hibernate3) doesn't work for load operations (LOAD, GET). Could anyone explain why not?

Tranks, Rodrigo


Top
 Profile  
 
 Post subject: Re: Filtering data
PostPosted: Tue Jun 06, 2006 3:18 pm 
Beginner
Beginner

Joined: Tue Oct 18, 2005 3:57 pm
Posts: 48
Location: Los Angeles, CA
rodrigobarreiros wrote:
Filtering data (Hibernate3) doesn't work for load operations (LOAD, GET). Could anyone explain why not?

You mean filtering as in using a WHERE clause?

load() and get(), by definition, retrieve whole objects. If you want to filter which column is retrieved, then write your own query (HQL or Criteria).


Top
 Profile  
 
 Post subject: Filtering data
PostPosted: Tue Jun 06, 2006 4:23 pm 
Newbie

Joined: Thu May 25, 2006 10:27 am
Posts: 3
No, I mean filtering as in using filter-def.


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.