Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-2765

JCR-SQL2 : no count when WHERE clause is provided

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2
    • sql
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            clemensdev Clemens Wyss
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: