jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clemens Wyss (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-2765) JCR-SQL2 : no count when WHERE clause is provided
Date Fri, 22 Oct 2010 05:42:20 GMT

    [ https://issues.apache.org/jira/browse/JCR-2765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923763#action_12923763
] 

Clemens Wyss commented on JCR-2765:
-----------------------------------

I agree that this is not a "Blocker", but manually counting through an iterator, just to get
the count, is not really an option

> JCR-SQL2 : no count when WHERE clause is provided
> -------------------------------------------------
>
>                 Key: JCR-2765
>                 URL: https://issues.apache.org/jira/browse/JCR-2765
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: sql
>            Reporter: Clemens Wyss
>
> whenever you provide a where-clause to a sql2 select, jcr/jackrabbit does not provide
the hit count.
> E.g.:
>    select * from [nt:unstructured]
>    order by [jcr:score]
> returns the hit count (query.execute().getRows().getSize()), 
> whereas
>   select * from [nt:unstructured]
>   where entity = "customer"
>   order by [jcr:score]
> doesn't.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message