The problem is with the construction of the where predicates. the ThreeQueryGenerator assumes that both the map-key and map-value are derived from the same entity rather than the values being sourced from two different types.
The line in question here is this one:
It should have read B_AUD rather than C_AUD, therefore that is what is causing the query to return an empty map. |