예제 #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();
 }
예제 #2
0
 /** INTERNAL: Prepare the receiver for execution in a session. */
 public void prepareForExecution() throws QueryException {
   super.prepareForExecution();
   getContainerPolicy().prepareForExecution();
 }