Schema Override Set

FDO API

 
Schema Override Set
 
 
 

A schema override set is the set of schema overrides for a particular Feature Schema and FDO Provider.

The top level of a schema override set is very similar to the Feature Schema, itself. There is a root class (OraclePhysicalSchemaMapping), with a list of classes and a list of relations. These lists are subsets of the lists in the corresponding Feature Schema. It is not necessary to list every class and relation; list only the ones for which overrides are being specified. OraclePhysicalSchemaMapping provides the Oracle-specific implementation of FdoPhysicalSchemaMapping.

The methods for these MetaClasses are stripped down from the methods on the corresponding Feature Schema MetaClasses. In the Schema Override set, only name and physical properties are specified. For example, the names for schema objects can be specified, but not the descriptions, since the descriptions cannot be overridden. Name cannot be overidden either, but each object needs a name for identification, so it must be specified.

The Schema Override Set is used to specify schema-wide overrides such as:

  • Oracle Database for all tables for classes and object properties in the schema. Defaults to the current Oracle Database for the current connection.
  • Oracle Owner for all tables for classes and object properties in the schema. Defaults to the current Oracle Schema for the current connection.
  • Tablespace for all tables for classes and object properties in the schema. Defaults to the default table space for the Oracle Owner.
  • Default table mapping type for all classes in the schema. If not specified, the default table mapping type is Concrete.

These schema-wide overrides can themselves be overridden on an element-by-element basis. For example, there are overrides available for class table, object property, and geometric property.