8.1. Query architecture

The JDO specification provides the Query interface and the JDOQL Query definition as an object-oriented and data-store independent means for the definition and execution of queries. By utilizing these features, application query requirements can be met without compromising the portability of the application amongst different implementations.

JDOQL is intended to be neutral to the native query language of the underlying data store. Most implementations will map the elements of JDOQL into the data store’s native query language. Of course, some data stores do not have their own query language, e.g. file systems and XML documents, and in such cases the implementation will have to provide client-side query execution functionality. ...

Get Java™ Data Objects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.