I have an HQL
query like:-
String sql = "select s from table1 m , table2 s where s.id= m.sId and " '" + path + "' like concat(m.path,'/%') ";
This is running fine and path here is a String. Now what i want to do here is that i will have a list of paths of String type. And i want a single query to do my work i.e return s for all of the paths. Can i do this in a single query?