openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppod...@apache.org
Subject svn commit: r689815 - /openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_query.xml
Date Thu, 28 Aug 2008 13:38:15 GMT
Author: ppoddar
Date: Thu Aug 28 06:38:14 2008
New Revision: 689815

URL: http://svn.apache.org/viewvc?rev=689815&view=rev
Log:
correct typo

Modified:
    openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_query.xml

Modified: openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_query.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_query.xml?rev=689815&r1=689814&r2=689815&view=diff
==============================================================================
--- openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_query.xml (original)
+++ openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_query.xml Thu Aug 28 06:38:14
2008
@@ -2814,7 +2814,7 @@
 The following query returns the average price of all magazines:
 <programlisting>SELECT AVG(mag.price) FROM Magazine mag</programlisting> The
 following query returns the sum total cost of all the prices from all the
-magazines published by 'Larry': <programlisting>SELECT SUM(mag.price) FROM Publisher
pub JOIN pub.magazines mag pub.firstName = 'Larry'
+magazines published by 'Larry': <programlisting>SELECT SUM(mag.price) FROM Publisher
pub JOIN pub.magazines mag WHERE pub.firstName = 'Larry'
 </programlisting> The following query returns the total number of magazines:
 <programlisting>SELECT COUNT(mag) FROM Magazine mag</programlisting>
                     </para>



Mime
View raw message