public AbstractJDOQLQuery(ExecutionContext ec, String query)
{
this(ec);
// Parse the single-string query for errors
JDOQLSingleStringParser parser = new JDOQLSingleStringParser(this, query);
if (ec.getNucleusContext().getPersistenceConfiguration().getBooleanProperty("datanucleus.query.jdoql.allowAll"))
{
parser.setAllowDelete(true);
parser.setAllowUpdate(true);
}
parser.parse();
if (candidateClassName != null)
{
try
{