<!DOCTYPE jdoconfig PUBLIC "-//The Apache Software Foundation//DTD Java Data Objects Configuration 3.2//EN" "https://db.apache.org/jdo/xmlns/jdoconfig_3_2.dtd"> <!DOCTYPE jdoconfig SYSTEM "file:/javax/jdo/jdoconfig.dtd">
JDO allows you to define a file jdoconfig.xml that specifies the properties for a named PMF. As always with XML, the metadata must match the defined DTD/XSD for that file type. This section describes the content of the jdoconfig files. All jdoconfig files must contain a valid DTD/DOCTYPE specification. You can use PUBLIC or SYSTEM versions of these.
Here are a few examples valid for jdoconfig files with DTD specifications
<!DOCTYPE jdoconfig PUBLIC "-//The Apache Software Foundation//DTD Java Data Objects Configuration 3.2//EN" "https://db.apache.org/jdo/xmlns/jdoconfig_3_2.dtd"> <!DOCTYPE jdoconfig SYSTEM "file:/javax/jdo/jdoconfig.dtd">
Here is an example valid for jdoconfig files with XSD specification
<?xml version="1.0" encoding="UTF-8" ?> <jdoconfig xmlns="https://db.apache.org/jdo/xmlns/jdoconfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://db.apache.org/jdo/xmlns/jdoconfig https://db.apache.org/jdo/xmlns/jdoconfig_3_2.xsd" version="3.2"> ... </jdoconfig>