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"?
Join
Member of