| :_basedir: |
| :_imagesdir: images/ |
| :notoc: |
| :notitle: |
| :grid: cols |
| :metadata: |
| |
| [[index]] |
| |
| == Meta-Data - JDOConfiganchor:Meta-Data_-_JDOConfig[] |
| |
| 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 |
| "-//Sun Microsystems, Inc.//DTD Java Data Objects Configuration 3.0//EN" |
| "http://xmlns.jcp.org/dtd/jdoconfig_3_0.dtd"> |
| |
| <!DOCTYPE jdoconfig SYSTEM "file:/javax/jdo/jdoconfig.dtd"> |
| .... |
| |
| {empty} + |
| |
| |
| Here is an example valid for *jdoconfig* files with XSD specification |
| |
| .... |
| <?xml version="1.0" encoding="UTF-8" ?> |
| <jdoconfig xmlns="http://xmlns.jcp.org/xml/ns/jdo/jdoconfig" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/jdo/jdoconfig |
| http://xmlns.jcp.org/xml/ns/jdo/jdoconfig_3_0.xsd"> |
| ... |
| </jdoconfig> |
| .... |
| |
| Your MetaData should match either the |
| http://xmlns.jcp.org/dtd/jdoconfig_3_0.dtd[DTD] or the |
| http://xmlns.jcp.org/xml/ns/jdo/jdoconfig_3_0.xsd[XSD] specification. |
| |