Exemplo n.º 1
0
 /**
  * PUBLIC: Return a new read all query. A reference class must be specified before execution. It
  * is better to provide the class and expression builder on construction to ensure a single
  * expression builder is used. If no selection criteria is specified this will read all objects of
  * the class from the database.
  */
 public ReadAllQuery() {
   super();
   setContainerPolicy(ContainerPolicy.buildDefaultPolicy());
 }
Exemplo n.º 2
0
 /** PUBLIC: Initialize the state of the query. */
 public DataReadQuery() {
   super();
   this.shouldMaintainCache = false;
   this.resultType = MAP;
   setContainerPolicy(ContainerPolicy.buildDefaultPolicy());
 }