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

JCR_SQL2 queries don't see modifications inside a transaction the changes were made in

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 2.6.3
    • None
    • jackrabbit-core, query
    • None

    Description

      When Jackrabbit is used with JTA, Lucene index is updated on transaction commit. Due to this, changes made inside a transaction are not visible to queries run from inside the same transaction.

      Steps to reproduce:
      1. Begin JTA transaction.
      2. Add a node.
      3. Use a JCR_SQL2 query to find the node.
      Expected: node is found.
      Actual: node is not found.

      Attachments

        Activity

          People

            Unassigned Unassigned
            radeks Radoslaw Stachowiak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: