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/forrest/src/documentation/content/xdocs/docu query.xml
Date Wed, 02 Jun 2004 18:53:01 GMT
brj         2004/06/02 11:53:01

  Modified:    forrest/src/documentation/content/xdocs/docu query.xml
  Log:
  additional docu for Query#setPathClass
  
  Revision  Changes    Path
  1.5       +5 -4      db-ojb/forrest/src/documentation/content/xdocs/docu/query.xml
  
  Index: query.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/forrest/src/documentation/content/xdocs/docu/query.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- query.xml	10 May 2004 18:22:27 -0000	1.4
  +++ query.xml	2 Jun 2004 18:53:01 -0000	1.5
  @@ -523,14 +523,14 @@
                   </p>
                   <p>
                       In the following sample the path <strong>allArticlesInGroup</strong>
points to class Article,
  -                    this is defined in the repository.xml. Assume we are only interested
in ProductGroups containing CdArticles 
  +                    this is defined in the repository.xml. Assume we are only interested
in ProductGroups containing CdArticles
                       performed by Eric Clapton or Books authored by Eric Clapton, a class
hint can be
                       defined for the path. This hint is defined by: <br/><br/>
                       Criteria#<strong>addPathClass</strong>("allArticlesInGroup",
CdArticle.class);
                   </p>
   
                       <source><![CDATA[
  -//                    
  +//
   // find a ProductGroup with a CD or a book by a particular artist
   //
   String artistName = new String("Eric Clapton");
  @@ -550,7 +550,8 @@
   
                   <note>
                       This feature is also available in class QueryByCriteria but using it
on Criteria-level provides
  -                    additional flexibility. QueryByCriteria#addPathClass may be deprecated
in the future.
  +                    additional flexibility. QueryByCriteria#addPathClass is only useful
for ReportQueries to limit
  +                    the class of the selected columns.
   				</note>
   
               </section>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message