db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: db-ojb/src/test/org/apache/ojb/broker QueryTest.java
Date Fri, 16 May 2003 19:08:15 GMT
brj         2003/05/16 12:08:15

  Modified:    src/test/org/apache/ojb/broker QueryTest.java
  Log:
  enhanced subquery1
  
  Revision  Changes    Path
  1.32      +1 -0      db-ojb/src/test/org/apache/ojb/broker/QueryTest.java
  
  Index: QueryTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/QueryTest.java,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- QueryTest.java	15 May 2003 19:58:12 -0000	1.31
  +++ QueryTest.java	16 May 2003 19:08:15 -0000	1.32
  @@ -133,6 +133,7 @@
   		Criteria subCrit = new Criteria();
   		Criteria crit = new Criteria();
   
  +        subCrit.addLike("articleName","A%");
   		subQuery = QueryFactory.newReportQuery(Article.class, subCrit);
   		subQuery.setColumns(new String[]{"avg(price)"});
   
  
  
  

Mime
View raw message