10.3. Persistence descriptor elements

We will now consider the tags which are defined in the persistence descriptor DTD, and which are used in order to specify the persistence characteristics of persistence-capable classes.

10.3.1. <extension>

The <extension> element occurs at various places throughout the DTD. It is a placeholder facilitating the introduction of vendor-specific extensions into persistence descriptors whilst retaining conformance to the standard DTD.

It has three attributes: vendor-name, key, and value. This element will be illustrated at the end of the chapter.

10.3.2. <jdo>

jdo.dtd (extract)
<!ELEMENT jdo ((package)+, (extension)*)> 

This is the root element of the document and must be present. It has no attributes. It must ...

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.