quering多对多关联我有用户和联系人和用户和联系人表示之间的毫米哪个用户是以下索引和使用休眠搜索
欲索引触点,这些触点和查询它们如下
列出用户所关注的所有联系人。列出其他用户创建的用户所关注的所有联系人。
UserContacts have the following fields
id
User user;
Contact contact;
User
id
name
emailid
Set<UserContacts> userContacts;
Contacts
id
Address address;
User createdBy;
Set<UserContacts> userContacts;
你的问题是什么? –