java - How to filter a Map Value using QueryDSL over Hibernate? -


i have java entity person contains

map<addresstype, address>,  

and need filter person contains address on specific city.

how can querydsl?

i verified querydsl contains method called "containsvalue", don't know how can use it. if have object need, can put a

qperson.person.addresses.containsvalue(myaddress) 

but doesn't solve problem :(

for example this

query.from(person)      .innerjoin(person.addresses, address).on(address.city...)      .list(...) 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -