示例#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();
 }