Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Creating HQL Query which works on Collections  RSS feed

ankisinghal singhal
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having following Model


Long Id
String fqdn2
Set <HostDiscoveredReg > files


Long ID
Host hst
String filename



String filename

Set <SoftwareApps> apps



String appName;

Set <SoftwareRegsFiles> files


Now I want to find the set of HostDiscoveredReg objects for a Set of Apps and Set of Hosts.

for given Set of Apps first we need to find set of SoftwareRegFiles and need to match the filename from SoftwareRegFiles to filename of HostDiscoveredReg and also match hst of HostDiscoveredReg to set of Hosts.

I am not able to create a HQL of this.

Can any one help me in this?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!