Hibernate IN Clause with multiple columns

后端 未结 3 789
臣服心动
臣服心动 2020-12-01 21:59

Need to know how to construct a Hibernate Query which fetches results matching an IN clause containing multiple column values.

e.g.,

Que         


        
3条回答
  •  我在风中等你
    2020-12-01 22:44

    What you are asking here is known as the tuple syntax. It is supported by Hibernate but unfortunately many databases do no support it ...

    http://docs.jboss.org/hibernate/core/3.3/reference/en/html/queryhql.html#queryhql-tuple

提交回复
热议问题