[infinispan-dev] Query iterator question

Manik Surtani manik at jboss.org
Mon Nov 23 16:23:58 EST 2009


This is a known issue - but we are going to have this resolved before the next CR release.

	https://jira.jboss.org/jira/browse/ISPN-287

Cheers
Manik

On 20 Nov 2009, at 23:38, Bryan Grunow wrote:

> I didn’t get an answer on the message board so I figured I’d try here.
>  
> I can only get query results from the cache if the key in the cache is a String.
>  
> I looked at the code in LazyIterator (I didn't check EagerIterator since it fails so I'm assuming the code is similar) and there is a line that retrieves the documentId from the extractor and casts it as a String.
>  
> The cast works but the documentId (the key) is entered in the cache as an Integer so the lookup fails. The result count is correct so I know it finds the results correctly but the lookup fails so I get a null in the iterator.
>  
> Thanks,
>  
> Bryan
> --------------------------------------------------------------------- 
> This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful. _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20091123/21a5306c/attachment-0002.html 


More information about the infinispan-dev mailing list