-->
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: Records with null values in a field should not be returned
PostPosted: Thu Jun 11, 2009 12:23 am 
Beginner
Beginner

Joined: Tue Feb 03, 2009 12:29 pm
Posts: 49
hi,

We have a certain field in our DB which may contain null values. As we all know, null values are not indexed. One of the search criteria is that the records which have null value for this particular field should not be returned. Keeping marker values in the DB instead of null might not be possible. Is there any other way to perform this check?

Thanks,
Seema


Top
 Profile  
 
 Post subject: Re: Records with null values in a field should not be returned
PostPosted: Thu Jun 11, 2009 2:39 am 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
This Jira issue might be relevant for you - http://opensource.atlassian.com/project ... SEARCH-115 It discusses the possibility to index null values and the problems it would introduce.

Independent of this issue you can always handle your case with a custom bridge, provided that you can guarantee that you won't get any ambiguities in your data.


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