java - How to use HQL to filter out entities with collection attributes
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-05-17 10:07:08
0
1
781

For example, the entity User contains the nicknames attribute of Set.
There are n User objects, and one of the User's nicknames collection contains "admin".
How to write HQL to return the User entity whose nicknames collection contains "admin"?

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all (1)
仅有的幸福
  • Join

  • Member of

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!