JSR-352: Avoid logging warnings caused by internal usage of the legacy Criteria API

Description

Ideally we should switch to JPA criteria, but if we can't we should at least hide the warnings.

The warnings look like this:

1 HHH90000022: Hibernate's legacy org.hibernate.Criteria API

We already fixed the issue in the engine itself, so it should be possible to fix it here too.

Environment

None

Status

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Priority

Major