Description
We should cleanup statements cache whenever cache is deregistered - otherwise it's possible to retrieve from statements cache a statement that is prepared from H2 perspective but may not be executed. Such situation may arise for any dynamic cache, not only for that created via SQL.
Reproducer attached.
Attachments
Attachments
Issue Links
- links to