HHH-7437 - Fix and test
HHH-7866 Avoid redundant log level checking in StandardQueryCache
HHH-7866 Cleanup and added a few more checks
HHH-6643 Criteria doesn't support a chaining of 2 not restrictions (sql
= not not criterion)
HHH-3458 Register postgres random() function as "rand" in PostgresSQLDialect