brj         2005/01/15 05:09:22

  Modified:    src/doc/forrest/src/documentation/content/xdocs/docu/guides
                        query.xml
  Log:
  limitations of report-queries: added problem with expressions
  
  Revision  Changes    Path
  1.3       +6 -2      
db-ojb/src/doc/forrest/src/documentation/content/xdocs/docu/guides/query.xml
  
  Index: query.xml
  ===================================================================
  RCS file: 
/home/cvs/db-ojb/src/doc/forrest/src/documentation/content/xdocs/docu/guides/query.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- query.xml 8 Sep 2004 18:38:40 -0000       1.2
  +++ query.xml 15 Jan 2005 13:09:22 -0000      1.3
  @@ -294,7 +294,7 @@
   
   Collection results = broker.getCollectionByQuery(q);]]></source>
                        <note>
  -                     Subqueries are not extent aware. Thus it's not possible 
to use an abstract class or an interface as search 
  +                     Subqueries are not extent aware. Thus it's not possible 
to use an abstract class or an interface as search
                        class of a subquery.
                        </note>
               </section>
  @@ -663,6 +663,10 @@
   
                   <section>
                        <title>Limitations of Report Queries</title>
  +                                     <p>
  +                 ReportQueries currently only support simple arithmetic 
expressions (ie. price * 1.05). 
  +                 Expressions based on multiple attributes (ie. price - 
bonus) do not work.
  +                 </p>
                                        <p>
                    ReportQueries should not be used with columns referencing 
classes with extents. Assume we want to select all ProductGroups
                    and summarize the amount and prize of items in stock per 
group. The class Article referenced by <strong>allArticlesInGroup</strong>      
                                    has the extents Books and CDs.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to