// "ft:(text:\"hallo\") " +
// "where (ischildnode([nt:base], [/testroot])) " +
// "and (contains([nt:base].[text], cast('hallo' as string))) */",
// getResult(q.execute(), "plan"));
q = qm.createQuery(sql2, Query.JCR_SQL2);
assertEquals("/testroot", getResult(q.execute(), "path"));
sql2 = "select [jcr:path] as [path] from [nt:base] " +
"where contains([node2/text], 'hello OR hallo') order by [jcr:path]";
q = qm.createQuery("explain " + sql2, Query.JCR_SQL2);