title: How to filter a Map Value using QueryDSL over Hibernate?
body: <p>I have a Java entity Person that contains a </p>
  
  <pre><code>Map&lt;AddressType, Address&gt;, 
  </code></pre>
  
  <p>and i need to filter to person that contains an address on specific city.</p>
  
  <p>How can i do this with QueryDSL? </p>
  
  <p>I verified that QueryDSL contains a method called "containsValue", but i don't know how i can use it. If i already have the exactly object that i need, i can  simply put a</p>
  
  <pre><code>QPerson.person.addresses.containsValue(myAddress)
  </code></pre>
  
  <p>but this doesn't solve my problem :(</p>