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
Post a Comment