O'Reilly logo

Java™ Data Objects by Robin M. Roos

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required