Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-7176

SqlQuery does not always find matching entries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.3, 2.4
    • 2.7
    • sql
    • None

    Description

      When the @QuerySqlField annotation is put on a custom class, the sql query sometimes does not find the entry.
      With an cache of 100'000 entries, the problem occurs in about 50% of the test runs for 1 - 2 entries.

      When the entry is not found, no log statement is written and no exception is thrown, but the result is missing, despite beeing accessible via cache.get(key).

      Note that i could not reproduce the Issue when i rename the class LegaldocAcceptPk to TestEntityPk.

      A reproducible unit test is attached.

      Attachments

        1. sqlbug.zip
          5 kB
          Markus Kinzler

        Activity

          People

            Unassigned Unassigned
            mk_mgb Markus Kinzler
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: