Meta-Data - JDOQuery

JDO defines XML MetaData in jdo files as well as orm files, but also specifies that named queries can be defined in jdoquery files. As always with XML, the metadata must match the defined DTD/XSD for that file type. This section describes the content of the jdoquery files. All jdoquery files must contain a valid DTD/DOCTYPE specification. You can use PUBLIC or SYSTEM versions of these.

Here are a few examples valid for jdoquery files eith DTD specification

    "-//The Apache Software Foundation//DTD Java Data Objects Query Metadata 3.2//EN"


<!DOCTYPE jdoquery SYSTEM "file:/javax/jdo/jdoquery.dtd">

Here is an example valid for jdoquery files with XSD specification

<?xml version="1.0" encoding="UTF-8" ?>
<jdoquery xmlns=""
    xsi:schemaLocation="" version="3.2">

Your MetaData should match either the DTD or the XSD specification.