/** INTERNAL: Prepare the receiver for execution in a session. */
 protected void prepare() {
   super.prepare();
   getContainerPolicy().prepare(this, getSession());
   if (getContainerPolicy().overridesRead()) {
     return;
   }
   getQueryMechanism().prepareExecuteSelect();
 }
 /** INTERNAL: Prepare the receiver for execution in a session. */
 public void prepareForExecution() throws QueryException {
   super.prepareForExecution();
   getContainerPolicy().prepareForExecution();
 }