Class DefaultQueryExecutionContext

  • All Implemented Interfaces:
    QueryExecutor, QueryExecutionContext

    public class DefaultQueryExecutionContext
    extends Object
    implements QueryExecutionContext
    Default implementation that executes queries without any further activity. XXX Note, evaluate methods account for any trouble in user code, and wrap them with TemplateQueryException. See QueryExecutor for considerations whether we shall keep QE/QEC indirection, or get another GQP provider that would wrap queries with try/catch and unexpected error handling (wrapping could be conditional). I lean towards a distinct provider as it gives more flexibility (can mix different wrappers) and fine-grained control for wrappers like performance tracer. Evgeny Gryaznov, Feb 10, 2010