void SelectStatementRep::setQueryContext(QueryContext& inCtx) { if (_ctx == NULL) { _ctx = inCtx.clone(); } else { throw QueryException(MessageLoaderParms("QueryCommon.SelectStatementRep.QUERY_CTX_ALREADY_SET", "The QueryContext can only be set once on a SelectStatement.")); } }
SelectStatementRep::SelectStatementRep(String& inQlang, String& inQuery, QueryContext& inCtx) :_qlang(inQlang), _query(inQuery) { _ctx = inCtx.clone(); }