Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, my scenario is like:
Map<String, HashSet<String>> B = new HashMap<String, HashSet<String>>();
if(!B.containsKey(row5.issue)){
B.put(row5.issue,new HashSet<String>());
}
B.get(row5.issue).add(row5.name);
globalMap.put("BMap", B);
Now, I have the following scripts in another Subjob:
select * from Table
where name in ('"+BMap.values()+"');
The bold portion has problems, anyone can advise? Thanks very much.
Thanks for the reply!
This is what my scripts look like:
where name in ('"+((String)globalMap.get("BMap.values()"))+"');
But that can't go through. Thanks again for your reply!
Can anyone please advise? Appreciate your help!!
Regards