oracle.javatools.db
Class Ddl

java.lang.Object
oracle.javatools.db.Ddl

public class Ddl

extends java.lang.Object

Class for the DDL to create an object.
Typically this will contain fragments of DDL statements for secondary objects.
For Primary objects, it will contain the complete DDL necessary for the
creation of the Object.

The DDL is not one single script. Different aspects of the creation are
handled by seperate scripts. For example, table creation has one
script to handle the basic creation of the tables and columns. Another
script alters the table to add the constraints.

When the DDL fragments for an object are created, they are returned as an
instance of a Ddl class. This is a HashTable. The file extension of the
DDL script is used as the key.

This is part of the deprecated DDLGenerator api and has been
replaced with DDL.

XMLSCHEMA

s_ddlOrder

public static final java.lang.String[] s_ddlOrder

array of DDL type strings in a reasonable generation order.
This is the order in which the DDL is concatenated by getDdl()
This list should not contain the SPOOL commands; they get
special treatment. We just want one spool command at the start
and a SPOOL OFF at the end.