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

rdbms - what exactly the undo information lives in oracle? -

bash - How do you programmatically add a bats test? -

java - Getting exception in JDBC thin driver -