jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gadbury <gadb...@googlemail.com>
Subject Re: NodeIterator.getSize() returns -1 for query with order by clause
Date Wed, 14 Apr 2010 10:40:48 GMT

Thanks Jacco.  The most relevant post to me was from Guo Du:

"Not always working on 2.0-alpha12 (when has where condition) :(

WORKING: select * from [nt:base] order by title .size() RETURN 1330
NOT WORKING: select * from [nt:base] where title like 'a%' order by
title .size() RETURN -1 (there are 2 records) "

But no real answer as to why with a where clause the getSize() returns -1.
-- 
View this message in context: http://n4.nabble.com/NodeIterator-getSize-returns-1-for-query-with-order-by-clause-tp1839436p1839593.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Mime
View raw message