You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Clemens Wyss (JIRA)" <ji...@apache.org> on 2010/11/30 16:06:13 UTC

[jira] Resolved: (JCR-2765) JCR-SQL2 : no count when WHERE clause is provided

     [ https://issues.apache.org/jira/browse/JCR-2765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Clemens Wyss resolved JCR-2765.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.0

"fixed by" https://issues.apache.org/jira/browse/JCR-2715

> 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
>             Fix For: 2.2.0
>
>
> 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.