compileInternal

Method to compile the JDOQL query.
This implementation assumes that we are using the "generic" JDOQL compiler in
org.datanucleus.query.compiler. If not then override this method.
Will populate the "compilation" class variable.