Hi,
Does any body knows how to execute SQL query using session? for example, I want to do something like that, but the query is DQL and not SQL
private static IDfCollection runQuery(IDfSession dfcSession, String query) {
IDfQuery dqlQuery = new DfQuery();
IDfCollection coll = null;
dqlQuery.setDQL(query);
try {
coll = dqlQuery.execute(dfcSession, IDfQuery.DF_QUERY);
} catch (Exception e) {
e.printStackTrace();
}
return coll;
}
Thanks!