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.