I have a list of group names which the app is reading from external .txt.
I want to pass to method as a List <String>
group names and to execute dql query something like:
for (String s : groupnames) {
dql = "DROP GROUP " + s;
System.out.println("dropped group: " + s;
}
How to write/execute DQL?