Index: doc/oql.xml =================================================================== RCS file: /scm/castor/castor/src/doc/oql.xml,v retrieving revision 1.5 diff -u -r1.5 oql.xml --- doc/oql.xml 8 Oct 2004 08:57:10 -0000 1.5 +++ doc/oql.xml 31 Jul 2005 20:41:50 -0000 @@ -948,6 +948,37 @@
+

On a selected number of RDBMS, Castor JDO now supports the use of LIMIT/OFFSET + clauses.

+ +

As per this release, the following RDBMS have full/partial support for this + feature.

+ + +
+ + + + + + + + + + + + + + + + +
RDBMSLIMITOFFSET
postgreSQLYesYes
mySQLYesYes
Oracle - 1)2)YesYes
HSQLYesYes
MS SQLYes-
DB2Yes-
+ +

1) Oracle has full support for LIMIT/OFFSET clauses for release 8.1.6 and + later.

+

2) For the LIMIT/OFFSET clauses to work properly the OQL query is required + to include a ORDER BY clause.

+

The following code fragment shows an OQL query that uses the LIMIT keyword to select the first 10 ProductGroup instances.

Index: doc/release-notes.xml =================================================================== RCS file: /scm/castor/castor/src/doc/release-notes.xml,v retrieving revision 1.73 diff -u -r1.73 release-notes.xml --- doc/release-notes.xml 27 Jul 2005 11:54:21 -0000 1.73 +++ doc/release-notes.xml 31 Jul 2005 20:42:00 -0000 @@ -30,6 +30,26 @@ + + + Update docs on the limit clause support for OQL. + + + Ralf Joachim + ralf.joachim@syscon-world.de + + + Ralf Joachim + ralf.joachim@syscon-world.de + + + Bruce Snyder + bruce DOT snyder AT gmail DOT com + + Enh. + JDO + 20050731 + Refactored access to caches, adding CacheEntry class and making OID and Index: etc/CHANGELOG =================================================================== RCS file: /scm/castor/castor/src/etc/CHANGELOG,v retrieving revision 1.236 diff -u -r1.236 CHANGELOG --- etc/CHANGELOG 27 Jul 2005 11:54:21 -0000 1.236 +++ etc/CHANGELOG 31 Jul 2005 20:42:11 -0000 @@ -2,6 +2,11 @@ Version (CVS) ------------- +JDO: Fixed bug CASTOR-1114 using contribution from Ralf Joachim [ralf.joachim@syscon-world.de] + Update docs on the limit clause support for OQL. + Details: http://jira.codehaus.org/browse/CASTOR-1114 + (Ralf - 20050731) + JDO: Fixed bug CASTOR-1169 using contribution from Werner Guttmann[werner.guttmann@gmx.net] Refactored access to caches, adding CacheEntry class and making OID and CacheEntry implement java.io.Serializable.