Exemplo n.º 1
0
 public ObjectLevelReadQuery getQuery() {
   if (theQuery == null) {
     if (shouldUseReportQuery()) {
       setQuery(buildReportQuery());
     } else {
       setQuery(new ReadAllQuery());
     }
     getQuery().setEJBQLString(getEjbqlString());
   }
   return theQuery;
 }
Exemplo n.º 2
0
 public void reset() {
   // Force the query to be rebuilt each time...
   setQuery(null);
   super.reset();
 }