As my question states, I would like to know what we call types of queries with that type of condition in the WHERE
clause, i.e.:
SELECT * FROM m
Expression Lists
Use of Row Value Constructors (RVC) in Comparison Predicates - quite a long term
RVCs are usually seen in INSERT statements, but rarely as part of WHERE clauses.
I doubt that this syntax has a direct support in JPA or Hibernate Criteria API, but there is always a workaround to achieve the same logic.