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